Fix compilation when MAX_STACK_ALLOC is not set

Close #722
This commit is contained in:
Jerome Robert 2015-12-31 13:36:22 +00:00
parent 2c7143459f
commit f9890a6452
1 changed files with 3 additions and 2 deletions

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);
}