diff --git a/src/MadsParameters.jl b/src/MadsParameters.jl index 8a32ac8c..ba56605a 100644 --- a/src/MadsParameters.jl +++ b/src/MadsParameters.jl @@ -646,6 +646,7 @@ function scale_up(v::AbstractVector, vmin::AbstractVector, vmax::AbstractVector, end if any(isnan.(vv)) @show v + @show vv @warn("NaN values in scaled vector!") throw() end @@ -673,6 +674,7 @@ function scale_down(v::AbstractVector, vmin::AbstractVector, vmax::AbstractVecto end if any(isnan.(vv)) @show v + @show vv @warn("NaN values in scaled vector!") throw() end