Skip to content

Commit

Permalink
Fix uninitialised m_verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
pmslavin committed Jan 12, 2025
1 parent 272fd6c commit 3b32e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pagmo/algorithms/nsga3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PAGMO_DLL_PUBLIC nsga3{
mutable NSGA3Memory m_memory{};
mutable detail::random_engine_type m_reng; // Defaults to std::mt19937
mutable log_type m_log;
unsigned m_verbosity;
unsigned m_verbosity {0};
mutable std::vector<ReferencePoint> m_refpoints;
// Serialisation support
friend class boost::serialization::access;
Expand Down

0 comments on commit 3b32e2c

Please sign in to comment.