Skip to content
Snippets Groups Projects
Commit 44e10bfc authored by Theresa Schollenberger's avatar Theresa Schollenberger Committed by Timo Koch
Browse files

[vangenuchten] fix dkrn_dswe

parent 675d1c3c
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ public:
const auto sne = 1.0 - swe;
const auto x = 1.0 - pow(swe, 1.0/params.vgm());
return -pow(sne, params.vgl()-1.0) * pow(x, 2*params.vgm() - 1.0) * ( params.vgl()*x - 2.0*sne/swe*(1.0 - x) );
return -pow(sne, params.vgl()-1.0) * pow(x, 2*params.vgm() - 1.0) * ( params.vgl()*x + 2.0*sne/swe*(1.0 - x) );
}
};
......
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