Skip to content

Commit

Permalink
util: fix "ble/util/dense-array#fill-range"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Sep 23, 2021
1 parent 8c67b79 commit e397120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.sh
Expand Up @@ -392,7 +392,7 @@ function ble/array#last-index {
}

function ble/dense-array#fill-range {
ble/array#reserve-prototype $(($2-$1))
ble/array#reserve-prototype $(($3-$2))
local _ble_script='
local -a sARR; sARR=("${_ble_array_prototype[@]::$3-$2}")
ARR=("${ARR[@]::$2}" "${sARR[@]/#/$4}" "${ARR[@]:$3}")'
Expand Down

0 comments on commit e397120

Please sign in to comment.