Rename function

This commit is contained in:
Przemek Pawlas
2024-10-11 19:24:58 +02:00
committed by WarmUpTill
parent 8d9519c849
commit 37cc289204
7 changed files with 10 additions and 9 deletions

View File

@@ -82,9 +82,10 @@ template<typename T> bool NumberVariable<T>::HasValidValue() const
auto value = var->IntValue();
return value.has_value();
} else if constexpr (std::is_same<T, double>::value) {
auto value = var->IntValue();
auto value = var->DoubleValue();
return value.has_value();
}
assert(false);
return false;
}