Browse Source

Fix compilation when MAX_STACK_ALLOC is not set

Close #722
tags/v0.2.16.rc1
Jerome Robert 10 years ago
parent
commit
f9890a6452
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      interface/gemv.c

+ 3
- 2
interface/gemv.c View File

@@ -270,10 +270,11 @@ void CNAME(enum CBLAS_ORDER order,

}
#endif
// stack overflow check
assert(stack_check==3.14159265358979323846);

#ifdef MAX_STACK_ALLOC
// stack overflow check
assert(stack_check==3.14159265358979323846);

if(!stack_alloc_size){
blas_memory_free(buffer);
}


Loading…
Cancel
Save