Skip to content

Commit

Permalink
Update src/varnamevector.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
torfjelde and github-actions[bot] authored Nov 16, 2023
1 parent 7801fe1 commit cdc2373
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 @@ -268,7 +268,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

Check warning on line 272 in src/varnamevector.jl

View check run for this annotation

Codecov / codecov/patch

src/varnamevector.jl#L271-L272

Added lines #L271 - L272 were not covered by tests
# And mark the rest as inactive if needed.
if n_new < n_old
Expand Down

0 comments on commit cdc2373

Please sign in to comment.