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

SCM Repository

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

View of /branches/vis12/bugs/bug016.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2217 - (download) (annotate)
Tue Feb 26 14:03:37 2013 UTC (6 years, 6 months ago) by jhr
File size: 706 byte(s)
  Split bug 016 into two files (BUG A ==> bug016 and BUG B ==> bug017).  Bug017 is resolved
  by some previous fix.
/*
** BUG: not sure what is wrong; something about constructing a tensor (vector)
** from elements of a sequence.
** 
uncaught exception Fail [Fail: element of tensor construction not tensor]
  raised at common/phase-timer.sml:76.50-76.52
  raised at common/phase-timer.sml:76.50-76.52
  raised at simplify/simple.sml:107.21-107.69
**
*/
real {} xyInit = load("data/real.nrrd");
int xyNum = length(xyInit)/2;

strand LIC (int ii, vec2 pos0) {
    real xx = pos0[0];
    real yy = pos0[1];

    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}])

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