mcst-linux-kernel/patches-2024.06.26/gambit-15.0.0/0002-remove-double-declarat...

37 lines
1.5 KiB
Diff
Raw Normal View History

2024-07-09 13:51:45 +03:00
diff -Naur orig/src/liblinear/ludecomp.imp new/src/liblinear/ludecomp.imp
--- orig/src/liblinear/ludecomp.imp 2020-03-10 17:06:15.498064103 +0300
+++ new/src/liblinear/ludecomp.imp 2020-03-10 17:06:51.785060080 +0300
@@ -25,7 +25,7 @@
#include "ludecomp.h"
#include "tableau.h"
-inline double abs(double x) { return fabs(x); }
+//inline double abs(double x) { return fabs(x); }
// ---------------------------------------------------------------------------
// Class EtaMatrix
diff -Naur orig/src/tools/enumpoly/gpoly.imp new/src/tools/enumpoly/gpoly.imp
--- orig/src/tools/enumpoly/gpoly.imp 2020-03-10 17:09:32.957042209 +0300
+++ new/src/tools/enumpoly/gpoly.imp 2020-03-10 17:09:43.463041044 +0300
@@ -25,7 +25,7 @@
#include "gpoly.h"
#include "libgambit/libgambit.h"
-inline double abs(double x) { return fabs(x); }
+//inline double abs(double x) { return fabs(x); }
//---------------------------------------------------------------
// gPoly
diff -Naur orig/src/tools/enumpoly/pelclass.cc new/src/tools/enumpoly/pelclass.cc
--- orig/src/tools/enumpoly/pelclass.cc 2020-03-10 17:12:10.168024777 +0300
+++ new/src/tools/enumpoly/pelclass.cc 2020-03-10 17:12:22.409023420 +0300
@@ -29,7 +29,7 @@
#include "complex.h"
*/
-inline double abs(double x) { return fabs(x); }
+//inline double abs(double x) { return fabs(x); }
/*************************************************************/
/************** Implementation of class Pelview **************/