This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
lolunit: explicitly cast lolunit_assert_doubles_equal() arguments to double.
undefined
Sam Hocevar
9 years ago
parent
75035be227
commit
fd25e64d5c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tools/lolunit/lolunit.h
+ 1
- 1
tools/lolunit/lolunit.h
View File
@@ -291,7 +291,7 @@ public:
do { \
m_asserts++; \
using std::fabs; \
if (True() && fabs((a) - (b)) > fabs((t))) \
if (True() && fabs(
double
(a) -
double
(b)) > fabs(
double
(t))) \
{ \
m_errorlog << "\n\n"; \
m_errorlog << ++m_failcases << ") test: " \
Write
Preview
Loading…
Cancel
Save