solved complilation warnings

This commit is contained in:
POUGET Marc 2025-03-18 11:00:08 +01:00
parent 49230bdd5b
commit ab1132faa4
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ class Complex_number
public:
Complex_number(const FT& real_part)
: _real(real_part)
: _real(real_part),
_imag(0)
{}
Complex_number(const FT& real_part, const FT& imaginary_part)

View File

@ -619,7 +619,7 @@ from_stream(std::istream& s)
int nb_darts = std::stoi(line);
// Load the anchor
int anchor_dart_id;
int anchor_dart_id = 0;
s >> line;
if (!line.compare("yes")) {
_has_anchor = true;