[Kst] extragear/graphics/kst/src/libkstmath

Barth Netterfield netterfield at astro.utoronto.ca
Wed Jun 21 03:45:06 CEST 2006


SVN commit 553439 by netterfield:

BUG: 129530 

re-set the length of the output vector to the right thing.... 



 M  +4 -0      kstequation.cpp  


--- trunk/extragear/graphics/kst/src/libkstmath/kstequation.cpp #553438:553439
@@ -450,6 +450,10 @@
     rawyv[ctx.i] = _pe->value(&ctx);
   }
 
+  if (!(*_xOutVector)->resize(iv->length())) {
+    // FIXME: handle error?
+    return false;    
+  }
   return true;
 }
 


More information about the Kst mailing list