From 87862406ac6dbfd20fadd1479a17333bc506b516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Fri, 2 Aug 2024 12:12:49 +0200 Subject: [PATCH] Fix format --- test/rank.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/rank.jl b/test/rank.jl index d9e582f..b0c7c79 100644 --- a/test/rank.jl +++ b/test/rank.jl @@ -15,7 +15,9 @@ struct HardcodedRanks <: RankCheck r::Vector{Int} end -MultivariateMoments.rank_from_singular_values(σ, r::HardcodedRanks) = r.r[length(σ)] +function MultivariateMoments.rank_from_singular_values(σ, r::HardcodedRanks) + return r.r[length(σ)] +end @testset "Decreasing rank" begin r = RankDependence(zeros(4, 4), HardcodedRanks([1, 0, 1, 2]))