Changeset 12247 for branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Analysis.Statistics.Views/3.3/CorrelationView.cs
- Timestamp:
- 03/24/15 11:17:08 (9 years ago)
- Location:
- branches/HeuristicLab.DatasetRefactor/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DatasetRefactor/sources
- Property svn:mergeinfo changed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Analysis.Statistics.Views/3.3/CorrelationView.cs
r12012 r12247 56 56 stringConvertibleMatrixView.Minimum = -1.0; 57 57 stringConvertibleMatrixView.Maximum = 1.0; 58 stringConvertibleMatrixView.FormatPattern = "0.000"; 58 59 59 60 methodComboBox.Items.Add(PearsonName); … … 97 98 98 99 void Content_ColumnsChanged(object sender, EventArgs e) { 99 UpdateUI(); 100 if (!suppressUpdates) { 101 UpdateUI(); 102 } 100 103 } 101 104 … … 212 215 .Where(x => !double.IsNaN(x) && !double.IsNegativeInfinity(x) && !double.IsPositiveInfinity(x)); 213 216 214 if (!rowValues.Any() || !columnValues.Any() || i == j ||rowValues.Count() != columnValues.Count()) {217 if (!rowValues.Any() || !columnValues.Any() || rowValues.Count() != columnValues.Count()) { 215 218 dt[i, j] = double.NaN; 219 } else if (i == j) { 220 dt[i, j] = 1.0; 216 221 } else { 217 222 if (methodName == PearsonName) {
Note: See TracChangeset
for help on using the changeset viewer.