summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/kron
diff options
context:
space:
mode:
authorsiddhu89902016-08-18 15:47:18 +0530
committersiddhu89902016-08-18 15:47:18 +0530
commitc8fd6991786ccddb44547b619178bb391f3f9b96 (patch)
treecd1cacd7796d85875e8b2bb15780902c55f42db1 /src/c/matrixOperations/kron
parent24fbba33153e7758df4a990cb4c21ae8e53e6f3e (diff)
downloadScilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.gz
Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.bz2
Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.zip
RPi-PWM and basic imaage processing
Diffstat (limited to 'src/c/matrixOperations/kron')
-rw-r--r--src/c/matrixOperations/kron/dkrona.c2
-rw-r--r--src/c/matrixOperations/kron/skrona.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/c/matrixOperations/kron/dkrona.c b/src/c/matrixOperations/kron/dkrona.c
index 6da6ed5..31e0a52 100644
--- a/src/c/matrixOperations/kron/dkrona.c
+++ b/src/c/matrixOperations/kron/dkrona.c
@@ -18,7 +18,7 @@ void dkrona (double *in1, int row1, int col1, double *in2, int row2, \
int col2, double *out)
{
int row1_count, col1_count,row2_count, col2_count;
- int row = row1*row2, col = col1*col2;
+ int row = row1*row2;
int temp = 0;
for(col1_count = 0;col1_count < col1; col1_count++)
diff --git a/src/c/matrixOperations/kron/skrona.c b/src/c/matrixOperations/kron/skrona.c
index 7b154fe..1e0daaf 100644
--- a/src/c/matrixOperations/kron/skrona.c
+++ b/src/c/matrixOperations/kron/skrona.c
@@ -18,7 +18,7 @@ void skrona (float *in1, int row1, int col1, float *in2, int row2, \
int col2, float *out)
{
int row1_count, col1_count,row2_count, col2_count;
- int row = row1*row2, col = col1*col2;
+ int row = row1*row2;
int temp = 0;
for(col1_count = 0;col1_count < col1; col1_count++)