aboutsummaryrefslogtreecommitdiff
path: root/src/elliptic/Jacobian.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/elliptic/Jacobian.hh')
-rw-r--r--src/elliptic/Jacobian.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elliptic/Jacobian.hh b/src/elliptic/Jacobian.hh
index 0dcf14b..26f913a 100644
--- a/src/elliptic/Jacobian.hh
+++ b/src/elliptic/Jacobian.hh
@@ -160,7 +160,7 @@ protected:
// the constructor only uses ps to get the size of the matrix
Jacobian(patch_system& ps)
: ps_(ps),
- N_rows_(ps.N_grid_points())
+ N_rows_(ps.N_grid_points() + ps.N_additional_points())
{ }
public:
virtual ~Jacobian() { }