Cantera / cantera

Chemical kinetics, thermodynamics, and transport tool suite
https://cantera.org
Other
581 stars 342 forks source link

[1D] Bugfix : Segfault if no transport specified in the YAML file #1651

Closed joebarteam11 closed 6 months ago

joebarteam11 commented 6 months ago

call "registerChangedCallback" before transport setting if transportModel() is "none"

Changes proposed in this pull request

If applicable, fill in the issue number this pull request is fixing

Closes #

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

ischoegl commented 6 months ago

As an aside: the patch was for 3.0, rather than main. The offending code is no longer present in main; at this point, the fix will apply for those who compile 3.0 from source.