Skip to content

Commit

Permalink
[Test] Fix reproducibility of values used in add_species_sequential test
Browse files Browse the repository at this point in the history
Exact floating point equality can be assured only in the case where the species
are added in the same order, since this affects summations involved in
calculating the mixture molecular weight. This resulted in test failures with
certain versions of the Intel compiler.

Resolves Cantera#433.
  • Loading branch information
speth committed Feb 22, 2017
1 parent a02753a commit 11a0727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/data/kineticsfromscratch.cti
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ units(length='m', time='s', quantity='kmol', act_energy='cal/mol')

ideal_gas(name = "ohmech",
elements = " O H Ar ",
species = """ h2o2: H2 H O O2 OH H2O HO2 H2O2 AR""",
species = """ h2o2: AR O H2 H OH O2 H2O H2O2 HO2""",
reactions = "all",
transport = "None",
initial_state = state(temperature = 300.0,
Expand Down

0 comments on commit 11a0727

Please sign in to comment.