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 Jul 28, 2022
1 parent d7130d5 commit b708ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble-core.sh
Expand Up @@ -168,7 +168,7 @@ function ble/array#reverse {
}

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

0 comments on commit b708ee2

Please sign in to comment.