Skip to content

Commit

Permalink
replace static_cast(-1) by get_null_value in persistence matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hschreiber committed Nov 8, 2024
1 parent 98ff660 commit fe6b11d
Showing 1 changed file with 2 additions and 2 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 @@ -601,7 +601,7 @@ class Matrix {
* @ref set_characteristic before calling for the first time a method needing it. Ignored if
* @ref PersistenceMatrixOptions::is_z2 is true.
*/
Matrix(unsigned int numberOfColumns, Characteristic characteristic = get_null_value<Characteristic>());
Matrix(unsigned int numberOfColumns, Characteristic characteristic = Matrix::get_null_value<Characteristic>());
/**
* @brief Constructs a new empty matrix with the given comparator functions. Only available when those comparators
* are necessary.
Expand Down Expand Up @@ -680,7 +680,7 @@ class Matrix {
Matrix(unsigned int numberOfColumns,
const std::function<bool(Pos_index,Pos_index)>& birthComparator,
const std::function<bool(Pos_index,Pos_index)>& deathComparator,
Characteristic characteristic = get_null_value<Characteristic>());
Characteristic characteristic = Matrix::get_null_value<Characteristic>());
/**
* @brief Copy constructor.
*
Expand Down

0 comments on commit fe6b11d

Please sign in to comment.