summaryrefslogtreecommitdiff
path: root/math/octave-forge-level-set/files/patch-geomGamma.cpp
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2021-02-22 04:35:03 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2021-02-22 04:35:03 +0000
commit98d1ae4d292eaf7aa6fd5bd820c9082b227347d3 (patch)
tree764aec59774dad451b42495fe72796507cc5e1b6 /math/octave-forge-level-set/files/patch-geomGamma.cpp
parent- Optional dependency math/octave-forge-ltfat to on. (diff)
- Unbreak with patches.
- Bump portrevision.
Notes
Notes: svn path=/head/; revision=566263
Diffstat (limited to 'math/octave-forge-level-set/files/patch-geomGamma.cpp')
-rw-r--r--math/octave-forge-level-set/files/patch-geomGamma.cpp11
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);