aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-02-10 19:22:05 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-02-10 19:22:05 +0100
commitdeecff97edfb6f75e7613e1db97a1e3e5504e971 (patch)
tree2197246669b52d190fd0cd15e1938624acffb895 /blas
parentc6e8caf0900ae303e9e7399bed00af705015ff17 (diff)
typo
Diffstat (limited to 'blas')
-rw-r--r--blas/common.h3
-rw-r--r--blas/level3_impl.h2
-rw-r--r--blas/xerbla.cpp4
3 files changed, 4 insertions, 5 deletions
diff --git a/blas/common.h b/blas/common.h
index c39cc63a8..5ecb153e2 100644
--- a/blas/common.h
+++ b/blas/common.h
@@ -1,7 +1,7 @@
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
-// Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
+// Copyright (C) 2009-2015 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
@@ -13,7 +13,6 @@
#include <Eigen/Core>
#include <Eigen/Jacobi>
-#include <iostream>
#include <complex>
#ifndef SCALAR
diff --git a/blas/level3_impl.h b/blas/level3_impl.h
index a05872666..32313e814 100644
--- a/blas/level3_impl.h
+++ b/blas/level3_impl.h
@@ -8,7 +8,7 @@
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include "common.h"
-
+#include <stdio.h>
int EIGEN_BLAS_FUNC(gemm)(char *opa, char *opb, int *m, int *n, int *k, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pb, int *ldb, RealScalar *pbeta, RealScalar *pc, int *ldc)
{
// std::cerr << "in gemm " << *opa << " " << *opb << " " << *m << " " << *n << " " << *k << " " << *lda << " " << *ldb << " " << *ldc << " " << *palpha << " " << *pbeta << "\n";
diff --git a/blas/xerbla.cpp b/blas/xerbla.cpp
index 0422f79b7..8775b88cd 100644
--- a/blas/xerbla.cpp
+++ b/blas/xerbla.cpp
@@ -1,5 +1,5 @@
-#include <iostream>
+#include <stdio.h>
#if (defined __GNUC__) && (!defined __MINGW32__)
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
@@ -14,7 +14,7 @@ extern "C"
EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
{
- std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
+ printf("Eigen BLAS ERROR #%i: %s\n", *info, msg );
return 0;
}