SCM Repository
Annotation of /branches/vis12/bugs/resolved/bug004.diderot
Parent Directory
|
Revision Log
Revision 2150 - (view) (download)
1 : | glk | 2146 | |
2 : | /* | ||
3 : | |||
4 : | BUG: as it is, program never seems to get to the print statement, | ||
5 : | but nor does it ever finish executing. | ||
6 : | Uncomment the "if (true)" and everything works fine | ||
7 : | |||
8 : | */ | ||
9 : | |||
10 : | real bogus = 1.0; | ||
11 : | strand sqroot(real val) { | ||
12 : | output real root = 0.0; | ||
13 : | update { | ||
14 : | print(val, "\n"); | ||
15 : | //if (true) | ||
16 : | stabilize; | ||
17 : | } | ||
18 : | } | ||
19 : | // Strand initialization | ||
20 : | initially [ sqroot(i) | i in 1..20 ]; |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |