The work array hasn't always been allocated, so taking its address isn't
necessarily valid. Also, dlange doesn't use the work array in the '1' norm
case anyway.
Cherry-pick of trunk commit 2830.
When using Python 3, using -1 as the dummy value for density and site_density
causes probems, because the (ordered) comparison between a density specified
with units (as a tuple) and 0 is not allowed. Instead, use None as the
placeholder value.
Cherry-pick of trunk commit r2800.
installShomateThermoFromXML now checks that 7 coefficients are supplied in the
floatArray and throws if that is not the case.
Partial cherry-pick of r2778.
We don't actually have system-dependent versions of these headers, so just put
the templates in place directly. This is also a workaround for a SCons bug on
Cygwin.
Cherry-pick of trunk r2735.
Use separate SCons Environments so the 'py_include_dirs' variable (which
contains the Numpy include directory) can be distinct for each Python module.
Cherry-pick of trunk r2710.
Cast the unsigned return type of newKineticsFromXML to a signed type so that the
check on the Matlab side (which looks at the sign of the return value) can
detect and report errors.
Cherry-pick of trunk r2724.
This addesses a parsing error that would occur if a mechanism contained both
'foo' and 'foo+', where reactions written as 'foo+bar' would be parsed as a
reaction with 'foo+' and 'bar'.
See Issue 182.
Cherry pick of trunk commit r2701.
Fixes the case where the next section header contains a modifier, e.g. 'thermo
all' or 'reactions <units>'.
Based on a patch provided by Bryan Weber.
See Issue 199.
Cherry-pick of trunk r2662.
Warn when a species is given multiple times in the input list. Do not add the
duplicate species to speciesList.
Based on patch provided by Bryan Weber.
Resolves Issue 199.
Cherry-pick of trunk r2660.
This makes the default consistent with the documentation in the Python
module. Reported by & patch from Bryan Weber.
Fixes Issue 194.
Cherry-pick of trunk r2614.
Adding the attribute allow_discontinuities="true" to a phase's
'thermo' node (CTML) or adding 'allow_discontinuous_thermo' to a
phase's 'options' argument (CTI) will disable the automatic adjustment
of the provided polynomials so that enthalpy and entropy are
continuous at the midpoint temperature.
Cherry-pick of trunk r2590.
This fixes the problem of some output (notably from the 1D solver)
going to std::cout when that is not the primary output location,
e.g. when using IDLE or the IPython QtConsole.