Browse Source

simplified calls to round

richarddobson 2 weeks ago
parent
commit
18f5cbb00c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dev/grain/grain1.c

+ 2 - 2
dev/grain/grain1.c

@@ -42,9 +42,9 @@
 #ifndef HUGE
 #ifndef HUGE
 #define HUGE 3.40282347e+38F
 #define HUGE 3.40282347e+38F
 #endif
 #endif
-#ifdef unix
+//#ifdef unix
 #define round(x) lround((x))
 #define round(x) lround((x))
-#endif
+//#endif
 
 
 static int  copygrain_from_elsewhere(int len,int k,int *obufposition,dataptr dz);
 static int  copygrain_from_elsewhere(int len,int k,int *obufposition,dataptr dz);
 static int store_the_grain_time(int grainstart,int *graincnt,int crosbuf,double samptotime,int init,dataptr dz);
 static int store_the_grain_time(int grainstart,int *graincnt,int crosbuf,double samptotime,int init,dataptr dz);