Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
(double*) instead of (void*) for complex numbers in CBLAS #1322
(copy of Debian bug 877883 )
OpenBLAS in version 0.2.19-3 currently installed on Debian Stretch as well as the version 0.2.20+ds-4 in Testing declares the
This function takes an array of complex numbers X and scales them by the real value alpha.
In contrast to this, all other packages in Debian as well as the Intel MKL define
The same difference applies to the cblas_zscal() function and all others:
I have only noticed the issue now as cblas.h has become part of the alternatives system and is currently directing to the OpenBLAS version in testing. In Stretch, if also libblas-dev is installed, its cblas.h is used and the difference hence hidden away.
I suspect that this problem is not more widespread because people tend to cast their arguments to
There was also some discussion in 2013, but it seemed to go nowhere.
I would be very thankful if there was some way to avoid the explicit casts to (void*) in calls specifically for OpenBLAS.
referenced this issue
Nov 5, 2017
@martin-frbg I can only comment on the changes in
At least in
I can’t really comment on the changes in the other files, as I don’t understand them, however, they seem to be straightforward casts to fit with the lower levels of OpenBLAS?
In any case, thank you for the effort you put into maintaining this huge project!