Fixing syntax of if-statements
This commit is contained in:
parent
0020d0603c
commit
6bd29ac418
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in a new issue