Skip to content

Commit cf14dea

Browse files
committed
fix a rebase-induced bug
1 parent 9a764e4 commit cf14dea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macro.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,8 @@ then save an assertion that new size is equal to old.
10651065
"""
10661066
function saveonesize(ind, ax, store::NamedTuple)
10671067
if !haskey(store.dict, ind)
1068-
store.dict[ind] = long
1069-
elseif store.dict[ind] != long # no need to save identical expressions
1068+
store.dict[ind] = ax
1069+
elseif store.dict[ind] != ax # no need to save identical expressions
10701070
if isa(ind, Symbol)
10711071
str = "range of index $ind must agree"
10721072
push!(store.assert, :( $(store.dict[ind]) == $ax || throw(ArgumentError($str))) )

0 commit comments

Comments
 (0)