[opengtl-commits] [173] fix the test

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 173
Author:   cyrille
Date:     2008-05-19 13:03:09 +0200 (Mon, 19 May 2008)

Log Message:
-----------
fix the test

Modified Paths:
--------------
    trunk/OpenGTL/OpenShiva/tests/imagegenerators/PlainGenerator.shiva


Modified: trunk/OpenGTL/OpenShiva/tests/imagegenerators/PlainGenerator.shiva
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/imagegenerators/PlainGenerator.shiva	2008-05-19 09:39:08 UTC (rev 172)
+++ trunk/OpenGTL/OpenShiva/tests/imagegenerators/PlainGenerator.shiva	2008-05-19 11:03:09 UTC (rev 173)
@@ -2,9 +2,9 @@
 {
   void evaluatePixel(out pixel result)
   {
-    for(int i = 0; i < result.size )
+    for(int i = 0; i < result.size; ++i )
     {
-      pixel[i] = 0.5;
+      result[i] = 0.5;
     }
   }
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/