Fix multiprocessing example to actually get the indicated property

This commit is contained in:
Ray Speth 2015-08-03 22:57:03 -04:00
parent ea1f7c015b
commit 7ca9327f7d

View file

@ -40,7 +40,7 @@ def get_viscosity(args):
mech, T, P, X = args
gas = gases[mech]
gas.TPX = T, P, X
return gas.enthalpy_mass
return gas.viscosity
def parallel(mech, predicate, nProcs, nTemps):
"""