Skip to content
Snippets Groups Projects
Commit 6fdfb20f authored by wenqing's avatar wenqing
Browse files

[Bug] Set return 0. for not drho/dT in LinearTemperatureDependentDensity

parent 043332ef
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,9 @@ public:
const PropertyVariableType var) const override
{
(void)var_vals;
(void)var;
return - _rho0 * _beta;
if (var != PropertyVariableType::T)
return 0.0;
return -_rho0 * _beta;
}
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment