| Summary: | Unable to fit curve with weighted fit from context menu | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Andrew Walker <arwalker> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andrew Walker
2007-04-24 22:52:28 UTC
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 ||
|