From 5bbba913e72b25b5c934ebe8f959b3c3017ad4bc Mon Sep 17 00:00:00 2001 From: Markus Hauru Date: Tue, 17 Sep 2024 13:10:27 +0100 Subject: [PATCH] Remove outdated workaround --- ext/DynamicPPLChainRulesCoreExt.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/DynamicPPLChainRulesCoreExt.jl b/ext/DynamicPPLChainRulesCoreExt.jl index 890dd4307..1559467f8 100644 --- a/ext/DynamicPPLChainRulesCoreExt.jl +++ b/ext/DynamicPPLChainRulesCoreExt.jl @@ -25,9 +25,5 @@ ChainRulesCore.@non_differentiable DynamicPPL.updategid!( ChainRulesCore.@non_differentiable DynamicPPL.infer_nested_eltype(x) ChainRulesCore.@non_differentiable DynamicPPL.recontiguify_ranges!(ranges) -# TODO(mhauru) A workaround for https://github.com/FluxML/Zygote.jl/issues/1523, remove when -# fixed. Note that this is some serious type piracy. Needed because VarNamedVector uses -# BitVectors. -ChainRulesCore.@non_differentiable BitVector(a, b) end # module