[Kst] [Bug 144629] Unable to fit curve with weighted fit from context menu

Andrew Walker arwalker at sumusltd.com
Wed Apr 25 19:56:42 CEST 2007


------- 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=144629         
arwalker sumusltd com changed:

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



------- Additional Comments From arwalker sumusltd com  2007-04-25 19:56 -------
SVN commit 658017 by arwalker:

BUG:144629 allow user to specify weight vector if not already defined for fit

 M  +2 -1      kstfitdialog_i.cpp  


--- branches/work/kst/1.5/kst/src/libkstapp/kstfitdialog_i.cpp #658016:658017
 @ -274,7 +274,8  @
         string = true;
         break;
       case Plugin::Data::IOValue::TableType:
-        if (input && ( iInputVector < 2 || ( isWeighted && iInputVector < 3 ) ) ) {
+        if (input && ( iInputVector == 0 || iInputVector == 1 || 
+                     ( isWeighted && iInputVector == 2 && !_evector.isEmpty() ) ) ) {
           fixed = true;
         }
         if ((*it)._subType == Plugin::Data::IOValue::FloatSubType ||


More information about the Kst mailing list