aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-06-30 10:33:51 +0200
committerAnton Khirnov <anton@khirnov.net>2017-06-30 10:33:51 +0200
commita474577166079773b03c88e3e4f8501806cae889 (patch)
tree2b9b9fbafe28659d823862cd69c439961bccf7c2
parentd9e6b29f46e0e608e97274a7c6c29d54405064ae (diff)
Make cartoon interpolation work.cartoon
-rw-r--r--src/template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.c b/src/template.c
index 0f030a0..e0e4b75 100644
--- a/src/template.c
+++ b/src/template.c
@@ -1030,7 +1030,7 @@ if (debug > 0)
+ N_boundary_points_to_omit[ibndry_min],
input_array_max_subscripts[axis]
- N_boundary_points_to_omit[ibndry_max],
- MOLECULE_SIZE,
+ axis == 1 ? 0 : MOLECULE_SIZE,
boundary_off_centering_tolerance[ibndry_min],
boundary_off_centering_tolerance[ibndry_max],
boundary_extrapolation_tolerance[ibndry_min],