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

SCM Repository

[diderot] View of /tests/vis12-bugs/src/bug015.diderot
ViewVC logotype

View of /tests/vis12-bugs/src/bug015.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 11 months ago) by glk
File size: 531 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
/*
** BUG? compiler doesn't check on existence of argument to load(),
** unlike how it does check on argument to image()
** This program compiles ok but segfaults when it runs
*/
real {} xyInit = load("foobar");
int xyNum = length(xyInit)/2;

strand LIC (int ii, real xx, real yy) {
    output vec2 pos = [0,0];
    int step = 0;

    update {
        pos = [xx,yy];
        print(ii, ": ", xx, " ",  yy, "\n");
        stabilize;
    }
}

initially [ LIC(ii, xyInit{0 + 2*ii}, xyInit{1 + 2*ii})
            | ii in 0..xyNum-1 ];

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