Closed dkuegler closed 2 months ago
There seems to be an issue with parsing strings as integer/numbers in some bash versions, see #507 . This commit pulls out num_subjects=${#subjects[@]} and replaces the string "${#subjects[@]}" in the arithmetic expression by num_subjects.
num_subjects=${#subjects[@]}
"${#subjects[@]}"
num_subjects
There seems to be an issue with parsing strings as integer/numbers in some bash versions, see #507 . This commit pulls out
num_subjects=${#subjects[@]}
and replaces the string"${#subjects[@]}"
in the arithmetic expression bynum_subjects
.