Skip to content

Commit

Permalink
Import setindex!!
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Nov 1, 2023
1 parent 39f4ff1 commit 3ca938c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ca938c

Please sign in to comment.