From daeef2d04c0872d73adae8427f82995de6799b10 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 14:00:28 +0000 Subject: [PATCH] Ensure custom_allocator is used with unbounded_array_wrapper --- omnn/extrapolator/Extrapolator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/omnn/extrapolator/Extrapolator.cpp b/omnn/extrapolator/Extrapolator.cpp index 176bcad47..b00d72952 100644 --- a/omnn/extrapolator/Extrapolator.cpp +++ b/omnn/extrapolator/Extrapolator.cpp @@ -16,9 +16,9 @@ using namespace boost::numeric::ublas; // Replace incorrect allocator functions with correct Boost Ublas container functions // Ensure that matrix_t, vector_t, and permutation_matrix_t are using unbounded_array_wrapper with custom_allocator -using matrix_t = boost::numeric::ublas::matrix, unbounded_array_wrapper>; -using vector_t = boost::numeric::ublas::vector>; -using permutation_matrix_t = boost::numeric::ublas::permutation_matrix>; +using matrix_t = boost::numeric::ublas::matrix, unbounded_array_wrapper>>; +using vector_t = boost::numeric::ublas::vector>>; +using permutation_matrix_t = boost::numeric::ublas::permutation_matrix>>; // This function calculates the determinant of a matrix using LU factorization auto det_fast(matrix_t matrix) {