Fixing syntax of if-statements

This commit is contained in:
Hrvoje Jasak 2014-06-14 21:44:51 +01:00
parent 0020d0603c
commit 6bd29ac418

View file

@ -115,7 +115,11 @@
} }
} }
} }
else if (nonLinear == "updatedLagrangian" || "totalLagrangian") else if
(
nonLinear == "updatedLagrangian"
|| nonLinear == "totalLagrangian"
)
{ {
// a few different ways to calculate deformed normals // a few different ways to calculate deformed normals