SCM Repository
[diderot] / branches / vis12 / bugs / bug014.diderot |
View of /branches/vis12/bugs/bug014.diderot
Parent Directory
|
Revision Log
Revision 2207 -
(download)
(annotate)
Tue Feb 26 01:32:33 2013 UTC (9 years, 4 months ago) by glk
File size: 639 byte(s)
Tue Feb 26 01:32:33 2013 UTC (9 years, 4 months ago) by glk
File size: 639 byte(s)
confusion about sequences
/* ** BUG? ** is this not how a vec2 or vec3 sequence is supposed to be loaded, ** and used for initialization? ** This program works for "real", but not vec2's or vec3's ** To see problem, do a search-and-replace: ** real -> vec2, or ** real -> vec3, ** excluding this comment block, but ** including the data/????.nrrd filename */ real{} posInit = load("data/real.nrrd"); int posNum = length(posInit); int imgSizeX = 30; int imgSizeY = 20; strand LIC (int ii, real pos0) { output real pos = pos0; update { print(ii, ": ", pos, "\n"); stabilize; } } initially { LIC(ii, posInit{ii}) | ii in 0..posNum-1 };
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |