From 4af99590eda4d7108cf1e0361f65d97d3ccfd833 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Mon, 5 Jun 2023 16:02:54 -0300 Subject: [PATCH] Mejor yrange en c-busqueda --- build.sh | 2 ++ c-busqueda/handler.cr | 1 + 2 files changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 6e20310..15144bb 100755 --- a/build.sh +++ b/build.sh @@ -6,5 +6,7 @@ docker run --rm --privileged \ multiarch/qemu-user-static \ --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 deploy -f functions.yml $* diff --git a/c-busqueda/handler.cr b/c-busqueda/handler.cr index cd24d4a..005610c 100644 --- a/c-busqueda/handler.cr +++ b/c-busqueda/handler.cr @@ -222,6 +222,7 @@ class Handler y = datos.map { |r| r[0].to_f / 1000 } + yrange(0..(y.max*1.1).to_i + 1) xtics = Hash(Float64, String).new datos.each_with_index { |r, i|