summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
diff options
context:
space:
mode:
authorBrijeshcr2017-07-20 22:21:06 +0530
committerGitHub2017-07-20 22:21:06 +0530
commitce7361c5a0d18fd526a486e2286b293ac3caa889 (patch)
tree3198e18dd91802d418e7244082444e9bf074f338 /2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
parentff4002be02814ace57c646accf6753142732fc6c (diff)
parent1e4e1bdedc4742f32d297287c6ce22e5c5fef639 (diff)
downloadScilab2C-ce7361c5a0d18fd526a486e2286b293ac3caa889.tar.gz
Scilab2C-ce7361c5a0d18fd526a486e2286b293ac3caa889.tar.bz2
Scilab2C-ce7361c5a0d18fd526a486e2286b293ac3caa889.zip
Merge pull request #22 from abhinavdronamraju/master
Pmodulo added and resolved few errors regarding NNZ
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/isvector/disvectora.c')
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/disvectora.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
index 3c41027f..a96485be 100644
--- a/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
+++ b/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
@@ -15,9 +15,9 @@
#include <math.h>
#include "isvector.h"
#include "types.h"
-char disvectora(double* inp, int size1)
+char disvectora(double* inp, int row, int col)
{
- if(size1 ==1)
+ if(row ==1 || col==1)
return 'T';
return 'F';
}