summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/kron
diff options
context:
space:
mode:
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++)