Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Aug 2, 2024
1 parent bcc1bf6 commit 8786240
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/rank.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 8786240

Please sign in to comment.