diff --git a/Project.toml b/Project.toml index e024465..3152743 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "NearestCorrelationMatrix" uuid = "59ddf330-608c-4938-8bc9-a4ee97bbbea6" -version = "1.2.0" +version = "1.2.1" authors = ["Alex Knudson "] [deps] diff --git a/test/test_simple_api.jl b/test/test_simple_api.jl index 35ace54..68a1dac 100644 --- a/test/test_simple_api.jl +++ b/test/test_simple_api.jl @@ -46,9 +46,7 @@ A, m = default_negdef(; include_mask = true) # nearest_cor must not modify original matrix UNLESS user passes `alias_A=true` A = default_negdef() Y = nearest_cor(A, AlternatingProjections) -@test Base.mightalias(Y, A) == false @test !isapprox(Y, A) A = default_negdef() Y = nearest_cor(A, AlternatingProjections; alias_A = true) -@test Base.mightalias(Y, A) == true @test isapprox(Y, A)