From 08aed8991afb89f70c40456303df530368c47159 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 24 Dec 2023 03:38:24 -0500 Subject: [PATCH] Remove dependency on Static.jl --- Project.toml | 2 -- ext/RecursiveArrayToolsFastBroadcastExt.jl | 3 +-- src/RecursiveArrayTools.jl | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 99accbd0..9b54d613 100644 --- a/Project.toml +++ b/Project.toml @@ -13,7 +13,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" Requires = "ae029012-a4dd-5104-9daa-d747884805df" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3" StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" @@ -54,7 +53,6 @@ RecipesBase = "0.7, 0.8, 1.0" Requires = "1.0" SafeTestsets = "0.1" SparseArrays = "1" -Static = "0.3, 0.4, 0.5, 0.6, 0.7, 0.8" StaticArrays = "1.6" StaticArraysCore = "1.1" Statistics = "1" diff --git a/ext/RecursiveArrayToolsFastBroadcastExt.jl b/ext/RecursiveArrayToolsFastBroadcastExt.jl index 288a7a08..fd2a6e74 100644 --- a/ext/RecursiveArrayToolsFastBroadcastExt.jl +++ b/ext/RecursiveArrayToolsFastBroadcastExt.jl @@ -2,12 +2,11 @@ module RecursiveArrayToolsFastBroadcastExt using RecursiveArrayTools using FastBroadcast -using Static using StaticArraysCore const AbstractVectorOfSArray = AbstractVectorOfArray{T,N,<:AbstractVector{<:StaticArraysCore.SArray}} where {T,N} -@inline function FastBroadcast.fast_materialize!(::False, ::DB, dst::AbstractVectorOfSArray, bc::Broadcast.Broadcasted{S}) where {S,DB} +@inline function FastBroadcast.fast_materialize!(::FastBroadcast.Static.False, ::DB, dst::AbstractVectorOfSArray, bc::Broadcast.Broadcasted{S}) where {S,DB} if FastBroadcast.use_fast_broadcast(S) for i in 1:length(dst.u) unpacked = RecursiveArrayTools.unpack_voa(bc, i) diff --git a/src/RecursiveArrayTools.jl b/src/RecursiveArrayTools.jl index 34d012f3..8bb23909 100644 --- a/src/RecursiveArrayTools.jl +++ b/src/RecursiveArrayTools.jl @@ -9,7 +9,6 @@ using RecipesBase, StaticArraysCore, Statistics, ArrayInterface, LinearAlgebra using SymbolicIndexingInterface using SparseArrays -import Static # so it isn't a stale dep, used in FastBroadcastExt import Adapt