summaryrefslogtreecommitdiff
path: root/math/octave-forge-level-set/files/patch-geomGamma.cpp
blob: 4885bcecea4237349a0dcbd2248bd46f52abbb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- geomGamma.cpp.orig	2021-02-22 04:26:32 UTC
+++ geomGamma.cpp
@@ -192,7 +192,7 @@ DEFUN_DLD (__levelset_geomGamma, args, nargout,
       const Matrix inout = args(4).matrix_value ();
 
       /* Extract and check the dimensions.  */
-      const unsigned nNodes = phi.nelem ();
+      const unsigned nNodes = phi.numel ();
       const unsigned nElem = getDimension (nodelist, -1, 4);
       const unsigned nBdryEl = getDimension (bdryInd, -1, 1);
       getDimension (edges, nBdryEl, 4);