Skip to content

Commit

Permalink
Merge branch 'refs/heads/develop' into macOS-action
Browse files Browse the repository at this point in the history
  • Loading branch information
breyerml committed Apr 27, 2024
2 parents c1f80f7 + f540c1b commit 88a470f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/backends/OpenMP/openmp_csvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ TYPED_TEST(OpenMPCSVMKernelFunctionDeathTest, blas_level_3_kernel_implicit) {
TYPED_TEST(OpenMPCSVMKernelFunctionDeathTest, predict_values) {
constexpr plssvm::kernel_function_type kernel = util::test_parameter_value_at_v<0, TypeParam>;

const plssvm::parameter params{ plssvm::kernel_type = kernel };
plssvm::parameter params{ plssvm::kernel_type = kernel };
if constexpr (kernel != plssvm::kernel_function_type::linear) {
params.gamma = plssvm::real_type{ 0.001 };
}
const plssvm::data_set data{ PLSSVM_TEST_FILE };

const auto weights = util::generate_specific_matrix<plssvm::aos_matrix<plssvm::real_type>>(plssvm::shape{ 3, data.data().num_rows() }, plssvm::shape{ plssvm::PADDING_SIZE, plssvm::PADDING_SIZE });
Expand Down

0 comments on commit 88a470f

Please sign in to comment.