diff options
Diffstat (limited to 'sci-libs/itpp/files/itpp-4.0.1-zdotu-debian.patch')
-rw-r--r-- | sci-libs/itpp/files/itpp-4.0.1-zdotu-debian.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/sci-libs/itpp/files/itpp-4.0.1-zdotu-debian.patch b/sci-libs/itpp/files/itpp-4.0.1-zdotu-debian.patch deleted file mode 100644 index 50dc6936ee14..000000000000 --- a/sci-libs/itpp/files/itpp-4.0.1-zdotu-debian.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/itpp/base/blas.h b/itpp/base/blas.h -index 91e415b..e23ca68 100644 ---- a/itpp/base/blas.h -+++ b/itpp/base/blas.h -@@ -88,21 +88,21 @@ extern "C" { - const double *x, const int *incx, - const double *y, const int *incy); - --#if defined(HAVE_ZDOTU_RETURN) -- std::complex<double> zdotu_(const int *n, -- const std::complex<double> *x, const int *incx, -- const std::complex<double> *y, const int *incy); --#elif defined(HAVE_ZDOTU_VOID) -+#if defined(HAVE_ZDOTU_VOID) - void zdotu_(std::complex<double> *dot, - const int *n, - const std::complex<double> *x, const int *incx, - const std::complex<double> *y, const int *incy); -+#elif defined(HAVE_ZDOTU_RETURN) -+ std::complex<double> zdotu_(const int *n, -+ const std::complex<double> *x, const int *incx, -+ const std::complex<double> *y, const int *incy); - #else - void zdotusub_(std::complex<double> *dot, - const int *n, - const std::complex<double> *x, const int *incx, - const std::complex<double> *y, const int *incy); --#endif -+#endif // HAVE_ZDOTU_VOID - - // ---------------------------------------------------------------------- - // BLAS 2 functions -diff --git a/itpp/base/vec.h b/itpp/base/vec.h -index 6da1126..8708766 100644 ---- a/itpp/base/vec.h -+++ b/itpp/base/vec.h -@@ -925,13 +925,13 @@ namespace itpp { - it_assert_debug(v1.datasize == v2.datasize, "cvec::dot: wrong sizes"); - int incr = 1; - std::complex<double> output; --#if defined(HAVE_ZDOTU_RETURN) -- output = blas::zdotu_(&v1.datasize, v1.data, &incr, v2.data, &incr); --#elif defined(HAVE_ZDOTU_VOID) -+#if defined(HAVE_ZDOTU_VOID) - blas::zdotu_(&output, &v1.datasize, v1.data, &incr, v2.data, &incr); -+#elif defined(HAVE_ZDOTU_RETURN) -+ output = blas::zdotu_(&v1.datasize, v1.data, &incr, v2.data, &incr); - #else - blas::zdotusub_(&output, &v1.datasize, v1.data, &incr, v2.data, &incr); --#endif // HAVE_ZDOTU_RETURN -+#endif // HAVE_ZDOTU_VOID - return output; - } - #endif // HAVE_BLAS |