old systems may not have inf in math.h
This commit is contained in:
parent
ee41b6eb24
commit
af88494f87
|
@ -33,6 +33,11 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "openblas_utest.h"
|
||||
#if defined(BUILD_DOUBLE)
|
||||
|
||||
#ifndef INFINITY
|
||||
#define INFINITY HUGE_VALF
|
||||
#endif
|
||||
|
||||
CTEST(dnrm2,dnrm2_inf)
|
||||
{
|
||||
double x[29];
|
||||
|
|
Loading…
Reference in New Issue