diff --git a/pymoto/modules/assembly.py b/pymoto/modules/assembly.py index 01f3a0a..578b58d 100644 --- a/pymoto/modules/assembly.py +++ b/pymoto/modules/assembly.py @@ -213,7 +213,7 @@ def _prepare(self, domain: DomainDefinition, *args, # Numerical integration siz = domain.element_size - w = np.prod(siz[:domain.dim]/2) + w = np.prod(siz/2) for n in domain.node_numbering: pos = n*(siz/2)/np.sqrt(3) # Sampling point dN_dx = domain.eval_shape_fun_der(pos)