Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/torfjelde/varnamevector' into to…
Browse files Browse the repository at this point in the history
…rfjelde/varnamevector
  • Loading branch information
torfjelde committed Dec 30, 2023
2 parents 97e1bcc + cdc2373 commit be3c1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/varnamevector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function update!(vnv::VarNameVector, vn::VarName, val, transform=FromVec(val))
else
# `n_new <= n_old`
# Just decrease the current range.
r_new = r_old[1]:(r_old[1]+n_new-1)
r_new = r_old[1]:(r_old[1] + n_new - 1)
vnv.ranges[idx] = r_new
# And mark the rest as inactive if needed.
if n_new < n_old
Expand Down

0 comments on commit be3c1b4

Please sign in to comment.