@@ -110,7 +110,7 @@ int Krigingx(double** ppredictions,double **perror,double* obs_x, double* obs_
110110
111111 /* launch the thread manager with Krigingxt as a core: */
112112 LaunchThread (NearestNeighbort,(void *)&gate,num);
113- printf (" \r interpolation progress: 100%%\n " );
113+ printf (" \r interpolation progress: 100%% \n " );
114114 xDelete<int >(gate.numdone );
115115 }
116116 else if (strcmp (output," idw" )==0 ){ // Inverse distance weighting
@@ -132,7 +132,7 @@ int Krigingx(double** ppredictions,double **perror,double* obs_x, double* obs_
132132
133133 /* launch the thread manager with Krigingxt as a core: */
134134 LaunchThread (idwt,(void *)&gate,num);
135- printf (" \r interpolation progress: 100%%\n " );
135+ printf (" \r interpolation progress: 100%% \n " );
136136 xDelete<int >(gate.numdone );
137137 }
138138 else if (strcmp (output," v4" )==0 ){ // Inverse distance weighting
@@ -154,7 +154,7 @@ int Krigingx(double** ppredictions,double **perror,double* obs_x, double* obs_
154154
155155 /* launch the thread manager with Krigingxt as a core: */
156156 LaunchThread (v4t,(void *)&gate,num);
157- printf (" \r interpolation progress: 100%%\n " );
157+ printf (" \r interpolation progress: 100%% \n " );
158158 xDelete<int >(gate.numdone );
159159 }
160160 else if (strcmp (output," prediction" )==0 ){
@@ -177,7 +177,7 @@ int Krigingx(double** ppredictions,double **perror,double* obs_x, double* obs_
177177
178178 /* launch the thread manager with Krigingxt as a core: */
179179 LaunchThread (Krigingxt,(void *)&gate,num);
180- printf (" \r interpolation progress: 100%%\n " );
180+ printf (" \r interpolation progress: 100%% \n " );
181181 xDelete<int >(gate.numdone );
182182 }
183183 else {
@@ -229,7 +229,7 @@ void* Krigingxt(void* vpthread_handle){/*{{{*/
229229 if (my_thread==0 ){
230230 int alldone=numdone[0 ];
231231 for (int i=1 ;i<num_threads;i++) alldone+=numdone[i];
232- printf (" \r interpolation progress: %6.2g%%" ,double (alldone)/double (n_interp)*100 .);
232+ printf (" \r interpolation progress: %6.2g%% " ,double (alldone)/double (n_interp)*100 .);
233233 }
234234
235235 /* Kriging interpolation*/
@@ -275,7 +275,7 @@ void* NearestNeighbort(void* vpthread_handle){/*{{{*/
275275 if (my_thread==0 ){
276276 int alldone=numdone[0 ];
277277 for (int i=1 ;i<num_threads;i++) alldone+=numdone[i];
278- printf (" \r interpolation progress: %6.2g%%" ,double (alldone)/double (n_interp)*100 .);
278+ printf (" \r interpolation progress: %6.2g%% " ,double (alldone)/double (n_interp)*100 .);
279279 }
280280
281281 observations->InterpolationNearestNeighbor (&predictions[idx],x_interp[idx],y_interp[idx],radius);
@@ -321,7 +321,7 @@ void* idwt(void* vpthread_handle){/*{{{*/
321321 if (my_thread==0 ){
322322 int alldone=numdone[0 ];
323323 for (int i=1 ;i<num_threads;i++) alldone+=numdone[i];
324- printf (" \r interpolation progress: %6.2g%%" ,double (alldone)/double (n_interp)*100 .);
324+ printf (" \r interpolation progress: %6.2g%% " ,double (alldone)/double (n_interp)*100 .);
325325 }
326326
327327 observations->InterpolationIDW (&predictions[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata,power);
@@ -365,7 +365,7 @@ void* v4t(void* vpthread_handle){/*{{{*/
365365 if (my_thread==0 ){
366366 int alldone=numdone[0 ];
367367 for (int i=1 ;i<num_threads;i++) alldone+=numdone[i];
368- printf (" \r interpolation progress: %6.2g%%" ,double (alldone)/double (n_interp)*100 .);
368+ printf (" \r interpolation progress: %6.2g%% " ,double (alldone)/double (n_interp)*100 .);
369369 }
370370
371371 observations->InterpolationV4 (&predictions[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata);
0 commit comments