Unverified Commit 6a09626b authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Allow negative surface tension (#4223)

parent ba907d8a
......@@ -48,8 +48,6 @@ void MonteCarloMembraneBarostat::setDefaultPressure(double pressure) {
}
void MonteCarloMembraneBarostat::setDefaultSurfaceTension(double surfaceTension) {
if (surfaceTension < 0)
throw OpenMMException("Surface tension cannot be negative");
defaultSurfaceTension = surfaceTension;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment