fix corner case in reduce_vars
#5893
Merged
This job succeeded
Loading
reduce_vars
#5893