[Kst] branches/work/kst/1.5/kst/src/libkstapp

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


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