ext/nmatrix/math/trsm.h in nmatrix-0.0.9 vs ext/nmatrix/math/trsm.h in nmatrix-0.1.0.rc1
- old
+ new
@@ -7,12 +7,12 @@
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// == Copyright Information
//
-// SciRuby is Copyright (c) 2010 - 2013, Ruby Science Foundation
-// NMatrix is Copyright (c) 2013, Ruby Science Foundation
+// SciRuby is Copyright (c) 2010 - 2014, Ruby Science Foundation
+// NMatrix is Copyright (c) 2012 - 2014, John Woods and the Ruby Science Foundation
//
// Please see LICENSE.txt for additional copyright notices.
//
// == Contributing
//
@@ -58,11 +58,15 @@
#ifndef TRSM_H
#define TRSM_H
extern "C" {
+#if defined HAVE_CBLAS_H
#include <cblas.h>
+#elif defined HAVE_ATLAS_CBLAS_H
+ #include <atlas/cblas.h>
+#endif
}
namespace nm { namespace math {
@@ -378,6 +382,6 @@
cblas_ztrsm(order, side, uplo, trans_a, diag, m, n, (const void*)(&alpha), (const void*)(a), lda, (void*)(b), ldb);
}
} } // namespace nm::math
-#endif // TRSM_H
\ No newline at end of file
+#endif // TRSM_H