summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm
diff options
context:
space:
mode:
authorSiddhu89902017-07-04 20:20:46 +0530
committerSiddhu89902017-07-04 20:20:46 +0530
commite9de337a34e123749927039f7011fb30fc96f7c9 (patch)
tree4056424cb082605c759d213cff058c2491b6d43d /2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm
parent9981dc71e9478fee921175d300d69fd5ba655dc5 (diff)
parente7a1a9bd776aa3ebdd13aea4d4ef838e65acb34c (diff)
downloadScilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.tar.gz
Scilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.tar.bz2
Scilab2C-e9de337a34e123749927039f7011fb30fc96f7c9.zip
Removed wiringPi.h include bug, added amell, bug removed for dct and idct
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm')
-rw-r--r--2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c
index 56856e43..b01c8047 100644
--- a/2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c
+++ b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/lcm/u8lcma.c
@@ -44,7 +44,8 @@ uint8 u8lcma(uint8* in,int size)
else
i+=max;
}
- for(int j=2;j<size;j++)
+ int j;
+ for(j=2;j<size;j++)
{
x1=lcm_temp;
x2=*(in+j);