Skip to content

Commit

Permalink
name change for naive vector columns
Browse files Browse the repository at this point in the history
  • Loading branch information
hschreiber committed Nov 12, 2024
1 parent 865259d commit 17fa435
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Persistence_matrix/include/gudhi/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ class Matrix {
using Matrix_heap_column = Heap_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_list_column = List_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_vector_column = Vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_naive_vector_column = STD_naive_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_small_vector_column = Small_naive_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_naive_vector_column = Naive_std_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_small_vector_column = Naive_small_vector_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_set_column = Set_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_unordered_set_column = Unordered_set_column<Matrix<PersistenceMatrixOptions> >;
using Matrix_intrusive_list_column = Intrusive_list_column<Matrix<PersistenceMatrixOptions> >;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ class Naive_vector_column : public Master_matrix::Row_access_option,
};

template <class Master_matrix>
using STD_naive_vector_column = Naive_vector_column<Master_matrix, std::vector<typename Master_matrix::Matrix_entry*> >;
using Naive_std_vector_column = Naive_vector_column<Master_matrix, std::vector<typename Master_matrix::Matrix_entry*> >;
template <class Master_matrix>
using Small_naive_vector_column =
using Naive_small_vector_column =
Naive_vector_column<Master_matrix, boost::container::small_vector<typename Master_matrix::Matrix_entry*, 8> >;

template <class Master_matrix, class Support>
Expand Down
10 changes: 5 additions & 5 deletions src/Persistence_matrix/test/pm_column_tests_boost_type_lists.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ using Gudhi::persistence_matrix::Heap_column;
using Gudhi::persistence_matrix::Intrusive_list_column;
using Gudhi::persistence_matrix::Intrusive_set_column;
using Gudhi::persistence_matrix::List_column;
using Gudhi::persistence_matrix::STD_naive_vector_column;
using Gudhi::persistence_matrix::Small_naive_vector_column;
using Gudhi::persistence_matrix::Naive_std_vector_column;
using Gudhi::persistence_matrix::Naive_small_vector_column;
using Gudhi::persistence_matrix::Set_column;
using Gudhi::persistence_matrix::Unordered_set_column;
using Gudhi::persistence_matrix::Vector_column;
Expand Down Expand Up @@ -66,9 +66,9 @@ class column_non_validity {
} else if constexpr (col_type::Master::Option_list::column_type == Column_types::UNORDERED_SET) {
return !std::is_same_v<col_type, Unordered_set_column<typename col_type::Master> >;
} else if constexpr (col_type::Master::Option_list::column_type == Column_types::NAIVE_VECTOR) {
return !std::is_same_v<col_type, STD_naive_vector_column<typename col_type::Master> >;
return !std::is_same_v<col_type, Naive_std_vector_column<typename col_type::Master> >;
} else if constexpr (col_type::Master::Option_list::column_type == Column_types::SMALL_VECTOR) {
return !std::is_same_v<col_type, Small_naive_vector_column<typename col_type::Master> >;
return !std::is_same_v<col_type, Naive_small_vector_column<typename col_type::Master> >;
} else if constexpr (col_type::Master::Option_list::column_type == Column_types::VECTOR) {
return !std::is_same_v<col_type, Vector_column<typename col_type::Master> >;
} else if constexpr (col_type::Master::Option_list::column_type == Column_types::HEAP) {
Expand All @@ -90,7 +90,7 @@ using row_col_type_list = boost::mp11::mp_list<ct_intrusive_list, ct_intrusive_s
//...and add the column name here.
using column_list =
mp_list_q<Intrusive_list_column, Intrusive_set_column, List_column, Set_column, Unordered_set_column,
STD_naive_vector_column, Small_naive_vector_column, Vector_column, Heap_column>;
Naive_std_vector_column, Naive_small_vector_column, Vector_column, Heap_column>;
using c_matrix_type_list = mp_list_q<Column_mini_matrix>;

template <typename option_name_list, typename bool_is_z2, typename col_t, typename bool_has_row, typename bool_rem_row,
Expand Down

0 comments on commit 17fa435

Please sign in to comment.