You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code looks suspiciously similar to existing code in DynamicPPL, and in any case is type piracy and should be moved there or deleted as appropriate.
Unsure why Aqua doesn't flag this.
The text was updated successfully, but these errors were encountered:
penelopeysm
changed the title
LogDensityFunctions interface
LogDensityFunctions interface - duplicated code
Jan 21, 2025
Oh, I see, the ADgradient method is a single-argument version that automatically 'detects' the AD backend, as opposed to the usual two-argument method which takes the AD backend as the first argument.
Still type piracy though, should be given its own name imo.
Turing.jl/src/mcmc/Inference.jl
Lines 193 to 211 in 24d5556
This code looks suspiciously similar to existing code in DynamicPPL, and in any case is type piracy and should be moved there or deleted as appropriate.
Unsure why Aqua doesn't flag this.
The text was updated successfully, but these errors were encountered: