diff --git a/src/Providers.CUDA/LinearAlgebra/CudaLinearAlgebraProvider.cs b/src/Providers.CUDA/LinearAlgebra/CudaLinearAlgebraProvider.cs
index 577e9e73..c1f0c337 100644
--- a/src/Providers.CUDA/LinearAlgebra/CudaLinearAlgebraProvider.cs
+++ b/src/Providers.CUDA/LinearAlgebra/CudaLinearAlgebraProvider.cs
@@ -47,7 +47,7 @@ namespace MathNet.Numerics.Providers.CUDA.LinearAlgebra
/// Hint path where to look for the native binaries
internal CudaLinearAlgebraProvider(string hintPath)
{
- _hintPath = Path.GetFullPath(hintPath);
+ _hintPath = hintPath != null ? Path.GetFullPath(hintPath) : null;
}
///
diff --git a/src/Providers.MKL/FourierTransform/MklFourierTransformProvider.cs b/src/Providers.MKL/FourierTransform/MklFourierTransformProvider.cs
index 49768515..ba5e3370 100644
--- a/src/Providers.MKL/FourierTransform/MklFourierTransformProvider.cs
+++ b/src/Providers.MKL/FourierTransform/MklFourierTransformProvider.cs
@@ -54,7 +54,7 @@ namespace MathNet.Numerics.Providers.MKL.FourierTransform
/// Hint path where to look for the native binaries
internal MklFourierTransformProvider(string hintPath)
{
- _hintPath = Path.GetFullPath(hintPath);
+ _hintPath = hintPath != null ? Path.GetFullPath(hintPath) : null;
}
///
diff --git a/src/Providers.MKL/LinearAlgebra/MklLinearAlgebraProvider.cs b/src/Providers.MKL/LinearAlgebra/MklLinearAlgebraProvider.cs
index eb817cb1..9b0aec1d 100644
--- a/src/Providers.MKL/LinearAlgebra/MklLinearAlgebraProvider.cs
+++ b/src/Providers.MKL/LinearAlgebra/MklLinearAlgebraProvider.cs
@@ -71,7 +71,7 @@ namespace MathNet.Numerics.Providers.MKL.LinearAlgebra
/// VML accuracy mode.
internal MklLinearAlgebraProvider(string hintPath, MklConsistency consistency, MklPrecision precision, MklAccuracy accuracy)
{
- _hintPath = Path.GetFullPath(hintPath);
+ _hintPath = hintPath != null ? Path.GetFullPath(hintPath) : null;
_consistency = consistency;
_precision = precision;
_accuracy = accuracy;
diff --git a/src/Providers.MKL/SparseSolver/MklSparseSolverProvider.cs b/src/Providers.MKL/SparseSolver/MklSparseSolverProvider.cs
index 11e6f3ec..86ae7bf1 100644
--- a/src/Providers.MKL/SparseSolver/MklSparseSolverProvider.cs
+++ b/src/Providers.MKL/SparseSolver/MklSparseSolverProvider.cs
@@ -19,7 +19,7 @@ namespace MathNet.Numerics.Providers.MKL.SparseSolver
/// Hint path where to look for the native binaries
internal MklSparseSolverProvider(string hintPath)
{
- _hintPath = Path.GetFullPath(hintPath);
+ _hintPath = hintPath != null ? Path.GetFullPath(hintPath) : null;
}
///
diff --git a/src/Providers.OpenBLAS/LinearAlgebra/OpenBlasLinearAlgebraProvider.cs b/src/Providers.OpenBLAS/LinearAlgebra/OpenBlasLinearAlgebraProvider.cs
index 60bb1fd6..68ab6eee 100644
--- a/src/Providers.OpenBLAS/LinearAlgebra/OpenBlasLinearAlgebraProvider.cs
+++ b/src/Providers.OpenBLAS/LinearAlgebra/OpenBlasLinearAlgebraProvider.cs
@@ -63,7 +63,7 @@ namespace MathNet.Numerics.Providers.OpenBLAS.LinearAlgebra
/// Hint path where to look for the native binaries
internal OpenBlasLinearAlgebraProvider(string hintPath)
{
- _hintPath = Path.GetFullPath(hintPath);
+ _hintPath = hintPath != null ? Path.GetFullPath(hintPath) : null;
}
///