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":
UseNativeOpenBLAS();
break;
#endif
default:
if (!TryUseNative())
{
UseManaged();
}
break;
#else
default:
UseManaged();
break;
#endif
}
}
catch

Loading…
Cancel
Save