From 3ca938c6fe1444723d94fa32e59efb1592999075 Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Wed, 1 Nov 2023 17:44:27 +0000 Subject: [PATCH] Import `setindex!!` --- test/utils.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/utils.jl b/test/utils.jl index 39bcd78e1..a2d6f46fb 100644 --- a/test/utils.jl +++ b/test/utils.jl @@ -50,6 +50,8 @@ end @testset "BangBang.possible" begin + using DynamicPPL.BangBang: setindex!! + # Some utility methods for testing `setindex!`. test_linear_index_only(::Tuple, ::AbstractArray) = false test_linear_index_only(inds::NTuple{1}, ::AbstractArray) = true