added amorphous pressure ~1/r^2
[physik/morpheus.git] / random.c
index 3fbf912..51b310b 100644 (file)
--- a/random.c
+++ b/random.c
@@ -27,7 +27,8 @@ u32 rand_get(u32 max)
 }
 
 /* get z value (linear growth of probability with depths) */
-u32 rand_get_lgp(int slope_nel,int start_nel) {
+u32 rand_get_lgp(int slope_nel,int start_nel)
+{
  int z;
  u32 i;
  z=rand_get(sum_z_cells)+1; /* +1 as rand_get returns values 0...max-1 */