Skip to content

Commit a5eac2c

Browse files
committed
Fix _with_ladj_on_mapped
1 parent 6179828 commit a5eac2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/with_ladj.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ end
8282

8383
function _with_ladj_on_mapped(map_or_bc::F, y_with_ladj) where {F<:Union{typeof(map),typeof(broadcast)}}
8484
y = map_or_bc(first, y_with_ladj)
85-
ladj = sum(map_or_bc(last, y_with_ladj))
8685
ladj = sum(Broadcast.instantiate(Broadcast.broadcasted(last, y_with_ladj)))
8786
(y, ladj)
8887
end

0 commit comments

Comments
 (0)