File tree 1 file changed +0
-6
lines changed
include/albatross/src/models
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -639,15 +639,12 @@ class PICGaussianProcessRegression
639
639
features.size ());
640
640
Eigen::VectorXi col_alloc{Eigen::VectorXi::Zero (features.size ())};
641
641
bool all_same_group = true ;
642
- bool all_in_groups = true ;
643
642
for (Eigen::Index j = 0 ; j < features.size (); ++j) {
644
643
groups[j] = sparse_gp_fit.measurement_groups .find (
645
644
independent_group_function_ (without_measurement (features[j])));
646
645
if (groups[j] != sparse_gp_fit.measurement_groups .end ()) {
647
646
col_alloc (j) = groups[j]->second .block_size ;
648
647
all_same_group = all_same_group && groups[j] == groups[0 ];
649
- } else {
650
- all_in_groups = false ;
651
648
}
652
649
feature_to_block[j] =
653
650
std::distance (sparse_gp_fit.measurement_groups .begin (), groups[j]);
@@ -726,15 +723,12 @@ class PICGaussianProcessRegression
726
723
features.size ());
727
724
Eigen::VectorXi col_alloc{Eigen::VectorXi::Zero (features.size ())};
728
725
bool all_same_group = true ;
729
- bool all_in_groups = true ;
730
726
for (Eigen::Index j = 0 ; j < features.size (); ++j) {
731
727
groups[j] = sparse_gp_fit.measurement_groups .find (
732
728
independent_group_function_ (without_measurement (features[j])));
733
729
if (groups[j] != sparse_gp_fit.measurement_groups .end ()) {
734
730
col_alloc (j) = groups[j]->second .block_size ;
735
731
all_same_group = all_same_group && groups[j] == groups[0 ];
736
- } else {
737
- all_in_groups = false ;
738
732
}
739
733
feature_to_block[j] =
740
734
std::distance (sparse_gp_fit.measurement_groups .begin (), groups[j]);
You can’t perform that action at this time.
0 commit comments