Skip to content

Commit

Permalink
test linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Dec 23, 2023
1 parent 1c6dc3d commit e0ad4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libslic3r/Config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ class ConfigOptionPercentsTempl : public ConfigOptionFloatsTempl<NULLABLE>
if (&v != &this->values.front())
ss << ",";
this->serialize_single_value(ss, v);
if (! (std::isnan(v) || v == NIL_VALUE()))
if (!(std::isnan(v) || v == ConfigOptionFloatsTempl<NULLABLE>::NIL_VALUE()))
ss << "%";
}
std::string str = ss.str();
Expand All @@ -1214,7 +1214,7 @@ class ConfigOptionPercentsTempl : public ConfigOptionFloatsTempl<NULLABLE>
for (const double v : this->values) {
std::ostringstream ss;
this->serialize_single_value(ss, v);
if (! (std::isnan(v) || v == NIL_VALUE()))
if (!(std::isnan(v) || v == ConfigOptionFloatsTempl<NULLABLE>::NIL_VALUE()))
ss << "%";
vv.push_back(ss.str());
}
Expand Down

0 comments on commit e0ad4c5

Please sign in to comment.