added 2 newview modes: c conc & a pressure
[physik/nlsop.git] / random.c
index 6694317..4d96243 100644 (file)
--- a/random.c
+++ b/random.c
@@ -63,7 +63,7 @@ u32 get_rand(u32 max)
   }
   c_ptr=b_ptr;
  }
+
  return((u32)(*(c_ptr++)*(max*1.0/((long long unsigned int)URAND_MAX+1))));
 }