Version: 1.4.0 (using KDE 3.5.6) Installed from: Compiled From Sources OS: Linux PROBLEM: The scalar values associated with a matrix are not calculated correctly STEPS TO REPRODUCE: Start Kst Open the JavaScript Extension Enter the following: m=new Matrix() m.resize(3,3) m.zero() m.setValue(0,0,100) m.setValue(1,1,200) m.setvalue(2,2,300) m.max RESULTS: m.max reports 500 EXPECTED RESULTS: m.max should report 600
SVN commit 775120 by arwalker: BUG:157845 Include first matrix element in calculation of sum and sumsquared M +2 -0 kstmatrix.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=775120