Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
breyerml authored Apr 26, 2024
1 parent b4cdbe6 commit fffd9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/plssvm/parameter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ struct parameter {
}
if constexpr (parser.has(plssvm::gamma)) {
// get the value of the provided named parameter
if constexpr (std::is_samve_v<detail::remove_cvref_t<decltype(parser(gamma))>, gamma_coefficient_type>) {
if constexpr (std::is_same_v<detail::remove_cvref_t<decltype(parser(gamma))>, gamma_coefficient_type>) {
gamma = detail::get_value_from_named_parameter<gamma_coefficient_type>(parser, plssvm::gamma);
} else {
gamma = detail::get_value_from_named_parameter<real_type>(parser, plssvm::gamma);
Expand Down

0 comments on commit fffd9aa

Please sign in to comment.