summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2021-11-11 10:08:06 +0100
committerJaron Kent-Dobias <jaron@kent-dobias.com>2021-11-11 10:08:06 +0100
commit7cb1917be4017da03e96bf946aa976272f5b20b8 (patch)
treeea805d0a903906d5861079bbe7cbc13464b21bab
parent58e62d50243bc45dbd4ae466642e801a1b46dd69 (diff)
downloadcode-7cb1917be4017da03e96bf946aa976272f5b20b8.tar.gz
code-7cb1917be4017da03e96bf946aa976272f5b20b8.tar.bz2
code-7cb1917be4017da03e96bf946aa976272f5b20b8.zip
Fixed bug in cord hessian.
-rw-r--r--stokes.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stokes.hpp b/stokes.hpp
index c2b0ec5..9fd6f01 100644
--- a/stokes.hpp
+++ b/stokes.hpp
@@ -169,7 +169,7 @@ public:
Matrix<Scalar> dcdC = 0.5 / ż.norm() / dz.norm() * (
- (
- dfdgn * fdgm * dż + dfdgm * fdgn * dż.adjoint() +
+ dfdgn * fdgm * dż.adjoint() + dfdgm * fdgn * dż +
fdgn * fdgm * (dcdżcdz + dcdżcdz.adjoint())
)
- ż.norm() / dz.norm() * (