freebsd-ports/math/lapack++/files/patch-include:blas++.h
Maho Nakata 789b5c5923 1. fix build on 5-CURRENT.
2. change e-mail address of maho.
3. honor CXX and CXXFLAGS.
4. modernize patch file names.
5. satisfy portlint.

Reviewed by: knu (mentor)
Reported by: bento
2002-11-19 13:52:23 +00:00

15 lines
321 B
C

--- include/blas++.h~ Tue Nov 19 13:30:26 2002
+++ include/blas++.h Tue Nov 19 13:32:03 2002
@@ -11,7 +11,11 @@
#include "blas2++.h"
#include "blas3++.h"
-double abs(double);
+inline double abs(double a)
+{
+ if(a>=0) return a;
+ return -a;
+}
//-------------------------------------
// Vector/Vector operators