[genius] Tue Apr 18 12:44:38 2017 Jiri (George) Lebl <jirka 5z com>
- From: George Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] Tue Apr 18 12:44:38 2017 Jiri (George) Lebl <jirka 5z com>
- Date: Tue, 18 Apr 2017 17:44:09 +0000 (UTC)
commit 1e009c73a8bfe0d5e891abd6e1ca2cac81796873
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date: Tue Apr 18 12:44:40 2017 -0500
Tue Apr 18 12:44:38 2017 Jiri (George) Lebl <jirka 5z com>
* src/graphing.c: fix error checking on SurfacePlotDataGrid, thanks
to David Binderman
ChangeLog | 9 +++++++--
src/graphing.c | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a6dde3c..54ddf74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+Tue Apr 18 12:44:38 2017 Jiri (George) Lebl <jirka 5z com>
+
+ * src/graphing.c: fix error checking on SurfacePlotDataGrid, thanks
+ to David Binderman
+
Tue Apr 18 12:36:00 2017 Jiri (George) Lebl <jirka 5z com>
- * examples/vibrating-drum-modes.gel: optionally draw node lines.
+ * examples/vibrating-drumhead-modes.gel: optionally draw node lines.
Mon Apr 17 13:17:45 2017 Jiri (George) Lebl <jirka 5z com>
@@ -15,7 +20,7 @@ Fri Mar 10 13:15:25 2017 Jiri (George) Lebl <jirka 5z com>
Wed Feb 15 13:13:40 2017 Jiri (George) Lebl <jirka 5z com>
* examples/fourier-series-*.gel: Run 10 instead of 3 iterations of
- the animation for the Gibbs, also fix english typo in a comment
+ the animation for the Gibbs, also fix English typo in a comment
in the plotting example.
Tue Dec 27 15:42:39 2016 Jiri (George) Lebl <jirka 5z com>
diff --git a/src/graphing.c b/src/graphing.c
index ff79551..28752b0 100644
--- a/src/graphing.c
+++ b/src/graphing.c
@@ -10183,7 +10183,7 @@ SurfacePlotDataGrid_op (GelCtx *ctx, GelETree * * a, int *exception)
}
if (a[1]->type != GEL_MATRIX_NODE &&
- (gel_matrixw_elements (a[1]->mat.matrix) != 6 ||
+ (gel_matrixw_elements (a[1]->mat.matrix) != 6 &&
gel_matrixw_elements (a[1]->mat.matrix) != 4)) {
gel_errorout (_("%s: second argument not a 4 or 6 element vector of limits"),
"SurfacePlotDataGrid");
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]