Browse Source

Native: do not try to load native providers when compiled without native flag

truncatednormal
Christoph Ruegg 11 years ago
parent
commit
8d40d1d36a
  1. 7
      src/Numerics/Control.cs

7
src/Numerics/Control.cs

@ -86,13 +86,18 @@ namespace MathNet.Numerics
case "OPENBLAS": case "OPENBLAS":
UseNativeOpenBLAS(); UseNativeOpenBLAS();
break; break;
#endif
default: default:
if (!TryUseNative()) if (!TryUseNative())
{ {
UseManaged(); UseManaged();
} }
break; break;
#else
default:
UseManaged();
break;
#endif
} }
} }
catch catch

Loading…
Cancel
Save