From 14c5639afc1f5580c82b5b738ca6b7dec5203a88 Mon Sep 17 00:00:00 2001 From: Evan Patterson Date: Wed, 10 Apr 2024 15:27:38 -0700 Subject: [PATCH] CLEANUP: Remove stale method for `subpart`. --- src/ACSetInterface.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ACSetInterface.jl b/src/ACSetInterface.jl index 1285ce3..41d2c60 100644 --- a/src/ACSetInterface.jl +++ b/src/ACSetInterface.jl @@ -159,8 +159,6 @@ they have different domains (belong to different tables). """ function subpart end -@inline Base.@propagate_inbounds subpart(acs, part, name) = view_or_slice(subpart(acs, name), part) - function view_or_slice end @inline view_or_slice(x::AbstractVector, i::Union{Integer,StaticArray}) = x[i] @inline view_or_slice(x::AbstractVector, ::Colon) = x