Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis12/bugs/resolved/bug004.diderot
ViewVC logotype

View of /branches/vis12/bugs/resolved/bug004.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2146 - (download) (annotate)
Sun Feb 17 03:54:05 2013 UTC (9 years, 3 months ago) by glk
Original Path: branches/vis12/bugs/bug004.diderot
File size: 382 byte(s)
bugs, and a place to move the files once they've been fixed
/*

BUG: as it is, program never seems to get to the print statement,
but nor does it ever finish executing.
Uncomment the "if (true)" and everything works fine

*/

real bogus = 1.0;
strand sqroot(real val) {
   output real root = 0.0;
   update {
      print(val, "\n");
      //if (true)
         stabilize;
   }
}
// Strand initialization
initially [ sqroot(i) | i in 1..20 ];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0