From 7cb1917be4017da03e96bf946aa976272f5b20b8 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 11 Nov 2021 10:08:06 +0100 Subject: Fixed bug in cord hessian. --- stokes.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stokes.hpp b/stokes.hpp index c2b0ec5..9fd6f01 100644 --- a/stokes.hpp +++ b/stokes.hpp @@ -169,7 +169,7 @@ public: Matrix 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() * ( -- cgit v1.2.3-70-g09d2