projects
/
physik
/
morpheus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-
[physik/morpheus.git]
/
random.c
diff --git
a/random.c
b/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) */
}
/* 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 */
int z;
u32 i;
z=rand_get(sum_z_cells)+1; /* +1 as rand_get returns values 0...max-1 */