Skip to content

fixed conversion string bug in Codegen/Example-9

Bob Myhill requested to merge myhill.bob/ThermoEngine:example9_bugfix into master

This PR fixes a bug in the conversion_string in Example-9.

This bug was found using the existing test blocks in the ipynb file. Specifically, the line:

print (Complex_Solution.cy_Orthopyroxene_Complex_Solution_calib_conv_elm_to_moles(e))

produced the output [1.1, 1.2, 0.7], when it should be [1.1, 1.2, 1.3].

Merge request reports