Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jan 3, 2025
1 parent e31b572 commit 5fd941b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Galley/TensorStats/propagate-stats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function merge_tensor_stats(op, all_stats::Vararg{ST}) where ST <: TensorStats
return merge_tensor_stats_join(op, new_def, join_like_args...)
elseif length(join_like_args) == 0
return merge_tensor_stats_union(op, new_def, union_like_args...)
elseif union([get_index_set(stats) for stats in join_like_args]) == get_index_set(new_def)
elseif union([get_index_set(stats) for stats in join_like_args]...) == get_index_set(new_def)
# Currently we glean no information from non-join-like args
return merge_tensor_stats_join(op, new_def, join_like_args...)
else
Expand Down

0 comments on commit 5fd941b

Please sign in to comment.