Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
guitarix
guitarix-0.35.0-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File guitarix-0.35.0-gcc6.patch of Package guitarix
Index: b/libgxwmm/gxwmm/gainline.h =================================================================== --- a/libgxwmm/gxwmm/gainline.h +++ b/libgxwmm/gxwmm/gainline.h @@ -21,8 +21,9 @@ #include <gxw/gainpoints.h> #include <vector> +#include <cmath> -inline bool operator==(const gain_points& p1, const gain_points& p2) { return p1.i == p2.i && abs(p1.g - p2.g) < 1e-4 * (p1.g + p2.g); } +inline bool operator==(const gain_points& p1, const gain_points& p2) { return p1.i == p2.i && std::abs(p1.g - p2.g) < 1e-4 * (p1.g + p2.g); } inline bool operator!=(const gain_points& p1, const gain_points& p2) { return !(p1 == p2); } class Gainline: public std::vector<gain_points>
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