We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69624ce commit f21c4cfCopy full SHA for f21c4cf
src/base.jl
@@ -98,7 +98,7 @@ function tree_mapreduce(
98
preserve_sharing &&
99
throw(ArgumentError("Need to specify `result_type` if you use `preserve_sharing`."))
100
101
- if preserve_sharing
+ if preserve_sharing && RT != Nothing
102
return @with_memoize inner(inner, tree) IdDict{N,RT}()
103
else
104
return inner(inner, tree)
0 commit comments