We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba1b6f commit 4e1a23eCopy full SHA for 4e1a23e
onedal/linear_model/linear_model.cpp
@@ -68,8 +68,9 @@ auto get_onedal_result_options(const py::dict& params) {
68
else if (match.str() == "coefficients") {
69
onedal_options = onedal_options | result_options::coefficients;
70
}
71
- else
+ else {
72
ONEDAL_PARAM_DISPATCH_THROW_INVALID_VALUE(result_option);
73
+ }
74
75
76
catch (std::regex_error& e) {
0 commit comments