Skip to content

Commit

Permalink
count-fail-ratio: Fix according to shellcheck style
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Mar 28, 2024
1 parent b3fca3c commit 90f0495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion count-fail-ratio
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for ((i=start; i <= runs; i++)); do
if [ "$timing" = 1 ]; then
t_run_end=$(date +%s%N)
runtime=$(( (t_run_end - t_run_start) / 1000000 ))
times+=($runtime)
times+=("$runtime")
fi
p=$(bc <<< "scale=9;${fails}/${i}")
standard_error=$(bc <<< "scale=9;sqrt(${p}*(1 - ${p})/${i})")
Expand Down

0 comments on commit 90f0495

Please sign in to comment.