From c4c2dbb66bc46d75beaf3520625451bf67987ddb Mon Sep 17 00:00:00 2001 From: Alex Knudson Date: Sun, 13 Sep 2026 13:50:15 -0700 Subject: [PATCH 1/2] bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From e4c3a3148ab0399e81031ae3905897ab76bcce78 Mon Sep 17 00:00:00 2001 From: Alex Knudson Date: Sun, 13 Sep 2026 13:58:57 -0700 Subject: [PATCH 2/2] removed lingering Base.mightalias call --- test/test_simple_api.jl | 2 -- 1 file changed, 2 deletions(-) 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)