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 9a764e4 commit cf14deaCopy full SHA for cf14dea
src/macro.jl
@@ -1065,8 +1065,8 @@ then save an assertion that new size is equal to old.
1065
"""
1066
function saveonesize(ind, ax, store::NamedTuple)
1067
if !haskey(store.dict, ind)
1068
- store.dict[ind] = long
1069
- elseif store.dict[ind] != long # no need to save identical expressions
+ store.dict[ind] = ax
+ elseif store.dict[ind] != ax # no need to save identical expressions
1070
if isa(ind, Symbol)
1071
str = "range of index $ind must agree"
1072
push!(store.assert, :( $(store.dict[ind]) == $ax || throw(ArgumentError($str))) )
0 commit comments