From 3f38dad5eded4fb1ffd80f23121edef688b7dc6c Mon Sep 17 00:00:00 2001 From: Brian Kelley Date: Mon, 5 Aug 2024 10:16:58 -0600 Subject: [PATCH] SpAdd handle: delete sort_option getter/setter SpAdd handle was originally a copy-paste of the spgemm handle way back in #122, and included get_sort_option() and set_sort_option() from spgemm. But these try to use the member bool sort_option, which doesn't exist. Somehow these functions never produced compile errors until someone tried to call them. --- sparse/src/KokkosSparse_spadd_handle.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sparse/src/KokkosSparse_spadd_handle.hpp b/sparse/src/KokkosSparse_spadd_handle.hpp index ea9594ca3e..8d28309585 100644 --- a/sparse/src/KokkosSparse_spadd_handle.hpp +++ b/sparse/src/KokkosSparse_spadd_handle.hpp @@ -102,10 +102,6 @@ class SPADDHandle { */ size_type get_c_nnz() { return this->result_nnz_size; } - void set_sort_option(int option) { this->sort_option = option; } - - int get_sort_option() { return this->sort_option; } - #ifdef KOKKOSKERNELS_ENABLE_TPL_CUSPARSE SpaddCusparseData cusparseData; #endif