Skip to content

Commit 5b1f4aa

Browse files
committed
Don't use setinverse by default in pullbck
1 parent a696ef6 commit 5b1f4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/combinators/transformedmeasure.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export pullbck
268268
@inline pullbck(f, μ, style::PushfwdRootMeasure) = _pullback_impl(f, μ, style)
269269

270270
function _pullback_impl(f, μ, style = AdaptRootMeasure())
271-
pushfwd(setinverse(inverse(f), f), μ, style)
271+
pushfwd(inverse(f), μ, style)
272272
end
273273

274274
@deprecate pullback(f, μ, style::PushFwdStyle = AdaptRootMeasure()) pullbck(f, μ, style)

0 commit comments

Comments
 (0)