projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
08843cc
)
fixed get_reject method
author
hackbard
<hackbard>
Thu, 22 Jul 2004 15:36:34 +0000
(15:36 +0000)
committer
hackbard
<hackbard>
Thu, 22 Jul 2004 15:36:34 +0000
(15:36 +0000)
nlsop.c
patch
|
blob
|
history
diff --git
a/nlsop.c
b/nlsop.c
index
21d9439
..
0cdecc4
100644
(file)
--- a/
nlsop.c
+++ b/
nlsop.c
@@
-817,7
+817,7
@@
u32 get_reject_graph(info *my_info,d3_lattice *d3_l,char *file,u32 *graph) {
if(a>d3_l->max_z*CELL_LENGTH) k=0;
else
{
- graph[(int)(a/CELL_LENGTH)]=(int)(URAND_MAX*b);
+ graph[(int)(a/CELL_LENGTH)]=(int)(URAND_MAX
/100
*b);
flag[(int)(a/CELL_LENGTH)]=1;
}
}