Skip to content

Commit

Permalink
Fix bug thanks to @langou. Defines LAPACK_FORTRAN_STRLEN_END by defau…
Browse files Browse the repository at this point in the history
…lt, following @mgates3 comments in @512 and LAPACK++ convention
  • Loading branch information
weslleyspereira committed Mar 18, 2021
1 parent d3e64d6 commit e4440a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CBLAS/include/cblas_f77.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

#include <stdarg.h>

/* It seems all current Fortran compilers put strlen at end.
* Some historical compilers put strlen after the str argument
* or make the str argument into a struct. */
#define LAPACK_FORTRAN_STRLEN_END

#ifdef CRAY
#include <fortran.h>
#define F77_CHAR _fcd
Expand Down Expand Up @@ -522,6 +527,7 @@
extern "C" {
#endif

void F77_xerbla(FCHAR, void *);
void F77_xerbla_base(FCHAR, void *
#ifdef LAPACK_FORTRAN_STRLEN_END
, size_t
Expand Down

0 comments on commit e4440a7

Please sign in to comment.