From d841cfaf2f664ffec211c86b5bc64daeb0376a54 Mon Sep 17 00:00:00 2001 From: Alan Morris Date: Mon, 27 Nov 2023 16:27:57 -0700 Subject: [PATCH] Fixes for MS compiler --- Studio/Analysis/AnalysisTool.cpp | 17 ----------------- Studio/Analysis/AnalysisTool.h | 6 ------ 2 files changed, 23 deletions(-) diff --git a/Studio/Analysis/AnalysisTool.cpp b/Studio/Analysis/AnalysisTool.cpp index 4bab5d8c6b..22070703d6 100644 --- a/Studio/Analysis/AnalysisTool.cpp +++ b/Studio/Analysis/AnalysisTool.cpp @@ -463,23 +463,6 @@ void AnalysisTool::network_analysis_clicked() { app_->get_py_worker()->run_job(network_analysis_job_); } -//----------------------------------------------------------------------------- -Eigen::VectorXd AnalysisTool::extract_positions(Eigen::VectorXd& data) { - /* - auto positions = data; - - if (pca_shape_plus_scalar_mode()) { - positions = extract_shape_only(data); - } else if (pca_scalar_only_mode()) { - computed_scalars_ = temp_shape_; - if (ui_->pca_predict_shape->isChecked()) { - positions = ShapeScalarJob::predict_shape(session_, QString::fromStdString(feature_map_), computed_scalars_); - } else { - positions = construct_mean_shape(); - } - }*/ -} - //----------------------------------------------------------------------------- bool AnalysisTool::compute_stats() { if (stats_ready_) { diff --git a/Studio/Analysis/AnalysisTool.h b/Studio/Analysis/AnalysisTool.h index 67c5f7868f..5678850dc2 100644 --- a/Studio/Analysis/AnalysisTool.h +++ b/Studio/Analysis/AnalysisTool.h @@ -194,14 +194,9 @@ class AnalysisTool : public QWidget { void change_pca_analysis_type(); - //Eigen::VectorXd get_mean_shape(); - //! Compute the mean shape outside of the PCA in case we are using scalars only Eigen::VectorXd construct_mean_shape(); - - Eigen::VectorXd extract_positions(Eigen::VectorXd& data); - Q_SIGNALS: void update_view(); @@ -238,7 +233,6 @@ class AnalysisTool : public QWidget { ShapeHandle create_shape_from_points(Particles points); - Preferences& preferences_; Ui_AnalysisTool* ui_;