Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
cereal
8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch of Package cereal
From 8b8f5814e292e03bb5b07333a0e634ef0481c85b Mon Sep 17 00:00:00 2001 From: Shane Grant <w.shane.grant@gmail.com> Date: Wed, 15 Feb 2017 13:39:42 -0800 Subject: [PATCH] Fix macro for double comparison in unit test relates #338 --- unittests/portable_binary_archive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/portable_binary_archive.hpp b/unittests/portable_binary_archive.hpp index b74c4f9..d1ea190 100644 --- a/unittests/portable_binary_archive.hpp +++ b/unittests/portable_binary_archive.hpp @@ -63,7 +63,7 @@ inline void swapBytes( T & t ) CHECK_EQ(i_uint64 , o_uint64); \ CHECK_EQ(i_int64 , o_int64); \ if( !std::isnan(i_float) && !std::isnan(o_float) ) CHECK_EQ(i_float , doctest::Approx(o_float).epsilon(1e-5F)); \ - if( !std::isnan(i_float) && !std::isnan(o_float) ) CHECK_EQ(i_double, doctest::Approx(o_double).epsilon(1e-5)); + if( !std::isnan(i_double) && !std::isnan(o_double) ) CHECK_EQ(i_double, doctest::Approx(o_double).epsilon(1e-5)); // Last parameter exists to keep everything hidden in options template <class IArchive, class OArchive> inline
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor