Fixed a bug when compiling dynamic ARCH x86 in GotoBLAS2.

This commit is contained in:
Xianyi Zhang 2011-01-24 16:04:17 +00:00
parent dbf3780a6d
commit 5c9f1ebbf9
1 changed files with 2 additions and 2 deletions

View File

@ -198,9 +198,9 @@ void gotoblas_dynamic_init(void) {
gotoblas = get_coretype();
#ifdef ARCH_X86
if (gotoblas == NULL) gotoblas = gotoblas_KATMAI;
if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI;
#else
if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT;
#endif
if (gotoblas && gotoblas -> init) {