projects
/
scilab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5ef52fe
)
plot3d fixed after https://codereview.scilab.org/#/c/16264/
82/16482/3
Cedric Delamarre [Tue, 19 May 2015 08:55:24 +0000 (10:55 +0200)]
// should not return an error
plot3d(zeros(299,299))
Change-Id: Ifce97599d808697e66cbecf4073e24072233a535
scilab/modules/graphics/sci_gateway/c/sci_plot3d.c
patch
|
blob
|
history
diff --git
a/scilab/modules/graphics/sci_gateway/c/sci_plot3d.c
b/scilab/modules/graphics/sci_gateway/c/sci_plot3d.c
index
aebb991
..
b25784a
100644
(file)
--- a/
scilab/modules/graphics/sci_gateway/c/sci_plot3d.c
+++ b/
scilab/modules/graphics/sci_gateway/c/sci_plot3d.c
@@
-147,7
+147,7
@@
int sci_plot3d(char * fname, void *pvApiCtx)
l2 = (double *)MALLOC(sizeof(double) * n2);
for (i = 0; i < n2; ++i)
{
- l1[i] = i + 1;
+ l2[i] = i + 1;
}
mustFree = 1;