Skip to content

Commit

Permalink
Revert "fix : includeing windows.h header caause error (#258)"
Browse files Browse the repository at this point in the history
This reverts commit 92e8615.
  • Loading branch information
onqtam committed Aug 5, 2019
1 parent 7df0644 commit bacee35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctest/doctest.h
Expand Up @@ -3432,7 +3432,7 @@ Approx& Approx::scale(double newScale) {
bool operator==(double lhs, const Approx& rhs) {
// Thanks to Richard Harris for his help refining this formula
return std::fabs(lhs - rhs.m_value) <
rhs.m_epsilon * (rhs.m_scale + (std::max<double>(std::fabs(lhs), std::fabs(rhs.m_value)));
rhs.m_epsilon * (rhs.m_scale + std::max(std::fabs(lhs), std::fabs(rhs.m_value)));
}
bool operator==(const Approx& lhs, double rhs) { return operator==(rhs, lhs); }
bool operator!=(double lhs, const Approx& rhs) { return !operator==(lhs, rhs); }
Expand Down

0 comments on commit bacee35

Please sign in to comment.