Skip to content

Commit

Permalink
Add gcc fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesYang007 committed Nov 18, 2024
1 parent e27b99e commit 5d89da5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions adelie/src/include/adelie_core/solver/solver_css_cov.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,18 @@ inline void solve(
break;
}
}

throw util::adelie_core_solver_error("Unrecognized loss type!");

// dummy output (only to appease compiler)
return [&](
const std::unordered_set<index_t>&,
index_t,
const Eigen::Ref<const matrix_t>&,
Eigen::Ref<vec_value_t>
) {
return false;
};
}();

switch (method) {
Expand Down

0 comments on commit 5d89da5

Please sign in to comment.