Skip to content

Commit 4e1a23e

Browse files
Minor: fix Linear Regression get_onedal_result_options (#1682)
1 parent 2ba1b6f commit 4e1a23e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

onedal/linear_model/linear_model.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ auto get_onedal_result_options(const py::dict& params) {
6868
else if (match.str() == "coefficients") {
6969
onedal_options = onedal_options | result_options::coefficients;
7070
}
71-
else
71+
else {
7272
ONEDAL_PARAM_DISPATCH_THROW_INVALID_VALUE(result_option);
73+
}
7374
}
7475
}
7576
catch (std::regex_error& e) {

0 commit comments

Comments
 (0)