[Kst] [Bug 129530] Equation X output vector length error

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Wed Jun 21 03:45:32 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=129530         
netterfield astro utoronto ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From netterfield astro utoronto ca  2006-06-21 03:45 -------
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