mirror of https://github.com/CGAL/cgal
Try to fix warnings (which I cannot reproduce locally)
This commit is contained in:
parent
994b1aa9c6
commit
047938e068
|
|
@ -366,7 +366,7 @@ private:
|
|||
}
|
||||
|
||||
edge_stack stack;
|
||||
number_of_edges = num_edges(m_intrinsic_tm);
|
||||
std::size_t number_of_edges = num_edges(m_intrinsic_tm);
|
||||
edge_lengths.resize(number_of_edges);
|
||||
mark_edges.resize(number_of_edges, 1);
|
||||
edge_id_map = get(Edge_property_tag(), m_intrinsic_tm);
|
||||
|
|
@ -433,7 +433,6 @@ private:
|
|||
HalfedgeCoordinateMap hcm;
|
||||
Edge_id_map edge_id_map;
|
||||
|
||||
int number_of_edges;
|
||||
std::vector<double> edge_lengths;
|
||||
std::vector<int> mark_edges;
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -195,8 +195,10 @@ public:
|
|||
///
|
||||
/// \pre 0 <= i < row_dimension().
|
||||
/// \pre 0 <= j < column_dimension().
|
||||
void add_coef(int i, int j, T val)
|
||||
void add_coef(std::size_t i_, std::size_t j_, T val)
|
||||
{
|
||||
int i = static_cast<int>(i_);
|
||||
int j = static_cast<int>(j_);
|
||||
if(m_is_symmetric && (j > i))
|
||||
return;
|
||||
|
||||
|
|
@ -218,8 +220,10 @@ public:
|
|||
///
|
||||
/// \pre 0 <= i < row_dimension().
|
||||
/// \pre 0 <= j < column_dimension().
|
||||
NT get_coef (unsigned int i, unsigned int j) const
|
||||
NT get_coef (std::size_t i_, std::size_t j_) const
|
||||
{
|
||||
int i = static_cast<int>(i_);
|
||||
int j = static_cast<int>(j_);
|
||||
CGAL_precondition(i < row_dimension());
|
||||
CGAL_precondition(j < column_dimension());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue