Mejor yrange en c-busqueda

This commit is contained in:
Roberto Alsina 2023-06-05 16:02:54 -03:00
parent cddccc416f
commit 4af99590ed
2 changed files with 3 additions and 0 deletions

View File

@ -6,5 +6,7 @@ docker run --rm --privileged \
multiarch/qemu-user-static \ multiarch/qemu-user-static \
--reset -p yes --reset -p yes
# docker run --rm --privileged aptman/qus -s -- -p aarch64
faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $* faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $*
faas-cli deploy -f functions.yml $* faas-cli deploy -f functions.yml $*

View File

@ -222,6 +222,7 @@ class Handler
y = datos.map { |r| y = datos.map { |r|
r[0].to_f / 1000 r[0].to_f / 1000
} }
yrange(0..(y.max*1.1).to_i + 1)
xtics = Hash(Float64, String).new xtics = Hash(Float64, String).new
datos.each_with_index { |r, i| datos.each_with_index { |r, i|