Browse Source

define inf if needed

pull/3003/head
Martin Kroeker GitHub 5 years ago
parent
commit
5df09f8452
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      utest/test_nrm2.c

+ 4
- 0
utest/test_nrm2.c View File

@@ -33,6 +33,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#include "openblas_utest.h" #include "openblas_utest.h"


#ifndef INFINITY
#define INFINITY 1e1000
#endif

#ifdef BUILD_SINGLE #ifdef BUILD_SINGLE
CTEST(nrm2, snrm2){ CTEST(nrm2, snrm2){
blasint N=10, inc=1; blasint N=10, inc=1;


Loading…
Cancel
Save