diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:49 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:49 +0200 |
commit | c8e0e909b4a8d18319fc65434a10dc446434817c (patch) | |
tree | eee91e7d2ce229dd043811eae8f1e2bd78061916 /wx+/graph.cpp | |
parent | 5.2 (diff) | |
download | FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.gz FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.bz2 FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.zip |
5.3
Diffstat (limited to 'wx+/graph.cpp')
-rw-r--r-- | wx+/graph.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wx+/graph.cpp b/wx+/graph.cpp index 185121f1..9a64b3dd 100644 --- a/wx+/graph.cpp +++ b/wx+/graph.cpp @@ -411,7 +411,8 @@ void Graph2D::render(wxDC& dc) const if (iter->first.get()) { const GraphData& graph = *iter->first; - assert(graph.getXBegin() <= graph.getXEnd()); + assert(graph.getXBegin() <= graph.getXEnd() + 1.0e-9); + //GCC fucks up bad when comparing two *binary identical* doubles and finds "begin > end" with diff of 1e-18 if (attr.minXauto) minWndX = std::min(minWndX, graph.getXBegin()); |