From 73ac0fa65f0d0fe3106b887e383f63b6830438f4 Mon Sep 17 00:00:00 2001 From: Thomas <purcell@fhi-berlin.mpg.de> Date: Tue, 31 Aug 2021 23:17:03 +0200 Subject: [PATCH] Convex Hull Loss function test fails Must be from copying into the sorted matrix since model node tests work --- tests/googletest/loss_function/test_convex_hull_loss.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/googletest/loss_function/test_convex_hull_loss.cc b/tests/googletest/loss_function/test_convex_hull_loss.cc index d61e7ad8..40b61e2b 100644 --- a/tests/googletest/loss_function/test_convex_hull_loss.cc +++ b/tests/googletest/loss_function/test_convex_hull_loss.cc @@ -128,6 +128,7 @@ namespace prop_sorted_d_mat::initialize_sorted_d_matrix_arr(2, _task_sizes_train.size(), 4, std::vector<int>(4, 20)); std::copy_n(value_1.data(), _task_sizes_train[0], prop_sorted_d_mat::access_sorted_d_matrix(0)); std::copy_n(value_2.data(), _task_sizes_train[0], prop_sorted_d_mat::access_sorted_d_matrix(1)); + std::cout << prop_sorted_d_mat::access_sorted_d_matrix(1)[0] <<'\t' << prop_sorted_d_mat::access_sorted_d_matrix(0)[0] << std::endl; } void TearDown() override -- GitLab