From 94ae3701d22d6b9663c4b7168c7ffd0375a8eaee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Gauth=C3=A9?= Date: Thu, 26 Sep 2024 12:00:25 -0400 Subject: [PATCH] generic blockmergesort --- NDTensors/src/lib/GradedAxes/src/fusion.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NDTensors/src/lib/GradedAxes/src/fusion.jl b/NDTensors/src/lib/GradedAxes/src/fusion.jl index 2a98554e4e..3edd0a8f00 100644 --- a/NDTensors/src/lib/GradedAxes/src/fusion.jl +++ b/NDTensors/src/lib/GradedAxes/src/fusion.jl @@ -124,7 +124,7 @@ function blockmergesort(g::AbstractGradedUnitRange) end blockmergesort(g::UnitRangeDual) = dual(blockmergesort(flip(g))) -blockmergesort(g::OneToOne) = g +blockmergesort(g::AbstractUnitRange) = g # fusion_product produces a sorted, non-dual GradedUnitRange function fusion_product(g1, g2)