diff --git a/SimPEG/Mesh/DiffOperators.py b/SimPEG/Mesh/DiffOperators.py index 978f964b..492d628e 100644 --- a/SimPEG/Mesh/DiffOperators.py +++ b/SimPEG/Mesh/DiffOperators.py @@ -422,6 +422,7 @@ class DiffOperators(object): def fget(self): if(self._edgeCurl is None): + assert self.dim > 2, "Edge Curl only programed for 3D." # The number of cell centers in each direction n1 = self.nCx n2 = self.nCy