diff options
Diffstat (limited to 'math/octave-forge-level-set/files/patch-geomGamma.cpp')
-rw-r--r-- | math/octave-forge-level-set/files/patch-geomGamma.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/octave-forge-level-set/files/patch-geomGamma.cpp b/math/octave-forge-level-set/files/patch-geomGamma.cpp new file mode 100644 index 000000000000..4885bcecea42 --- /dev/null +++ b/math/octave-forge-level-set/files/patch-geomGamma.cpp @@ -0,0 +1,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); |