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 2150 - (download) (annotate)
Sun Feb 17 18:25:53 2013 UTC (6 years, 7 months ago) by jhr
File size: 382 byte(s)
  Update bug status by moving fixed bugs to bugs/resolved directory.  Added
  bug005.diderot -- error in handling redefinition of variables
  bug006.diderot -- don't catch programs without outputs
/*

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