working stuffs

This commit is contained in:
Joseph Redmon
2014-12-18 11:28:42 -08:00
parent ecbeec86bf
commit 47914146d9
4 changed files with 41 additions and 1 deletions

View File

@ -243,6 +243,7 @@ void scale_array(float *a, int n, float s)
a[i] *= s;
}
}
int max_index(float *a, int n)
{
if(n <= 0) return -1;