From 044d76ccc37d806521778d2d3564657d347488d1 Mon Sep 17 00:00:00 2001 From: Ruth Sabariego <ruth.sabariego@kuleuven.be> Date: Mon, 25 Jun 2018 16:24:19 +0200 Subject: [PATCH] VolInf[]={}; // Define empty array in case Flag_InfiniteBox is not active --- MagneticForces/InfiniteBox.geo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagneticForces/InfiniteBox.geo b/MagneticForces/InfiniteBox.geo index 821ab74..b3a1326 100644 --- a/MagneticForces/InfiniteBox.geo +++ b/MagneticForces/InfiniteBox.geo @@ -117,7 +117,7 @@ p6 = newp; Point (p6) = {xCnt+xInt, yCnt-yInt, zCnt+zInt, lc1inf}; p7 = newp; Point (p7) = {xCnt+xInt, yCnt+yInt, zCnt+zInt, lc1inf}; p8 = newp; Point (p8) = {xCnt-xInt, yCnt+yInt, zCnt+zInt, lc1inf}; - +VolInf[]={}; // Define empty array in case Flag_InfiniteBox is not active If(Flag_InfiniteBox) xExt = xInt * ratioInf; yExt = yInt * ratioInf; -- GitLab