Skip to content

Commit

Permalink
More stupid mistakes in the incompressibles fixed, thanks to Luke Eri…
Browse files Browse the repository at this point in the history
…ckson for reporting #429, which is fixed now.
  • Loading branch information
Jorrit Wronski committed Jan 26, 2015
1 parent f52e59b commit 33d9e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/Incompressible/IncompressibleFluid.cpp
Expand Up @@ -27,7 +27,7 @@ void IncompressibleFluid::set_reference_state(double T0, double p0, double x0, d
this->uref = 0.0;
this->uref = u(T0,p0,x0) - h0; // (value without ref) - (desired ref)
this->sref = 0.0;
this->sref = s(T0,p0,x0) - s0; // (value without ref) - (desired ref)
this->sref = s(T0,p0,x0);
}

void IncompressibleFluid::validate(){
Expand Down

0 comments on commit 33d9e2e

Please sign in to comment.