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

SCM Repository

[diderot] Diff of /branches/vis12/bugs/resolved/bug011.diderot
ViewVC logotype

Diff of /branches/vis12/bugs/resolved/bug011.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2308, Thu Mar 21 09:06:54 2013 UTC revision 2309, Thu Mar 21 10:57:53 2013 UTC
# Line 15  Line 15 
15  int stepsMax = 10;  int stepsMax = 10;
16  real epsilon = 0.001;  real epsilon = 0.001;
17    
18  field#1(2)[] FF = ctmr ⊛ image("data/ddro.nrrd");  field#1(2)[] FF = ctmr ⊛ image("../data/ddro.nrrd");
19  // the following bugs are because the negated sclr is not a global, but after  // the following bugs are because the negated sclr is not a global, but after
20  // normalization it is referenced in the strand body.  // normalization it is referenced in the strand body.
21  /*  /*
22  ** BUG: THIS is where it would make sense to define GG, and it doesn't work:  ** BUG: THIS is where it would make sense to define GG, and it doesn't work:
23  Internal error after normalization: see log file for details  Internal error after normalization: see log file for details
24  */  */
25  field#1(2)[] GG = FF - sclr;  //field#1(2)[] GG = FF - sclr;
26  /*  /*
27  ** BUG: For what its worth; this generates the same error  ** BUG: For what its worth; this generates the same error
28  */  */
# Line 56  Line 56 
56          ** BUG: can't multiply field by scalar:          ** BUG: can't multiply field by scalar:
57          ** Internal error after translation to MidIL: see log file for details          ** Internal error after translation to MidIL: see log file for details
58          */          */
59  // FIXED          field#1(2)[] GG = FF * sclr;
         //field#1(2)[] GG = FF * sclr;  
60          vec2 grad = ∇GG(pos);          vec2 grad = ∇GG(pos);
61          if (|grad| == 0) {          if (|grad| == 0) {
62              die;              die;

Legend:
Removed from v.2308  
changed lines
  Added in v.2309

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