@@ -216,7 +216,7 @@ void GeneratePrimaryStatsData::dataCheck()
216
216
setErrorCondition (0 );
217
217
setWarningCondition (0 );
218
218
219
- FLOAT_RANGE_CHECK (Mu, 0.0001 , 10.0 , -95000 );
219
+ FLOAT_RANGE_CHECK (Mu, - 10.0 , 10.0 , -95000 );
220
220
FLOAT_RANGE_CHECK (Sigma, 0.0 , 5.0 , -95001 );
221
221
FLOAT_RANGE_CHECK (MinCutOff, 0 , 1000000 , -95002 )
222
222
FLOAT_RANGE_CHECK (MaxCutOff, 0 , 1000000 , -95003 )
@@ -270,7 +270,10 @@ void GeneratePrimaryStatsData::dataCheck()
270
270
m_PhaseNames = phaseNames.get ();
271
271
272
272
setPhaseIndex (1 ); // If we are creating the StatsDataArray then we are the first phase
273
- phaseNames->setValue (m_PhaseIndex, m_PhaseName);
273
+ if (!getInPreflight ())
274
+ {
275
+ phaseNames->setValue (m_PhaseIndex, m_PhaseName);
276
+ }
274
277
}
275
278
276
279
// User wants to Append to existing AttributeMatrix
@@ -332,7 +335,10 @@ void GeneratePrimaryStatsData::dataCheck()
332
335
m_PhaseNames = phaseNames.get ();
333
336
334
337
setPhaseIndex (tDims[0 ] - 1 ); // If we are creating the StatsDataArray then we are the first phase
335
- phaseNames->setValue (m_PhaseIndex, m_PhaseName);
338
+ if (!getInPreflight ())
339
+ {
340
+ phaseNames->setValue (m_PhaseIndex, m_PhaseName);
341
+ }
336
342
}
337
343
338
344
// If all goes well, then calculate the number of bins to display back on the user interface.
0 commit comments