File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class ParticleShapeStatistics {
139139 unsigned int num_samples_group1_;
140140 unsigned int num_samples_group2_;
141141 unsigned int num_samples_;
142- unsigned int domains_per_shape_;
142+ unsigned int domains_per_shape_ = 0 ;
143143 unsigned int num_dimensions_;
144144 std::vector<int > group_ids_;
145145
Original file line number Diff line number Diff line change @@ -1171,9 +1171,6 @@ void AnalysisTool::update_slider() {
11711171
11721172// ---------------------------------------------------------------------------
11731173void AnalysisTool::reset_stats () {
1174- stats_ready_ = false ;
1175- evals_ready_ = false ;
1176-
11771174 ui_->tabWidget ->setCurrentWidget (ui_->mean_tab );
11781175 ui_->allSamplesRadio ->setChecked (true );
11791176 ui_->singleSamplesRadio ->setChecked (false );
@@ -1200,6 +1197,8 @@ void AnalysisTool::reset_stats() {
12001197 particle_area_panel_->reset ();
12011198 shape_scalar_panel_->reset ();
12021199 stats_ = ParticleShapeStatistics ();
1200+ evals_ready_ = false ;
1201+ stats_ready_ = false ;
12031202
12041203 ui_->pca_scalar_combo ->clear ();
12051204 if (session_) {
You can’t perform that action at this time.
0 commit comments