Skip to content

Commit

Permalink
Rename default_eps_count
Browse files Browse the repository at this point in the history
  • Loading branch information
Popov-Dmitriy-Ivanovich committed Oct 27, 2023
1 parent 9c87f82 commit 5f8218a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/model/types/double_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ class DoubleType final : public NumericType<Double> {
public:
DoubleType() noexcept : NumericType<Double>(TypeId::kDouble) {}

static const unsigned int default_eps_count = 5;
static const unsigned int kDefaultEpsCount = 5;

CompareResult Compare(std::byte const* l, std::byte const* r) const final {
return CompareEPS(l, r, default_eps_count);
return CompareEPS(l, r, kDefaultEpsCount);
}

CompareResult CompareEPS(std::byte const* l, std::byte const* r, unsigned int eps_count) const {
Expand Down

0 comments on commit 5f8218a

Please sign in to comment.