diff src/BTrack.cpp @ 53:338f5eb29e41

Small syntax change for array arguments so they are pointers rather than array[]. Just personal preference.
author Adam Stark <adamstark@users.noreply.github.com>
date Wed, 22 Jan 2014 01:34:04 +0000
parents 45231107c9d6
children 9699024bb3d0
line wrap: on
line diff
--- a/src/BTrack.cpp	Wed Jan 22 01:13:45 2014 +0000
+++ b/src/BTrack.cpp	Wed Jan 22 01:34:04 2014 +0000
@@ -368,7 +368,7 @@
 }
 
 //=======================================================================
-void BTrack :: adapt_thresh(float x[],int N)
+void BTrack :: adapt_thresh(float *x,int N)
 {
 	//int N = 512; // length of df
 	int i = 0;
@@ -434,7 +434,7 @@
 }
 
 //=======================================================================
-void BTrack :: acf_bal(float df_thresh[])
+void BTrack :: acf_bal(float *df_thresh)
 {
 	int l, n = 0;
 	float sum, tmp;
@@ -456,7 +456,7 @@
 }
 
 //=======================================================================
-float BTrack :: mean_array(float array[],int start,int end)
+float BTrack :: mean_array(float *array,int start,int end)
 {
 	int i;
 	double sum = 0;
@@ -480,7 +480,7 @@
 }
 
 //=======================================================================
-void BTrack :: normalise(float array[],int N)
+void BTrack :: normalise(float *array,int N)
 {
 	double sum = 0;