diff --git a/c-busqueda/handler.cr b/c-busqueda/handler.cr index 0ba3349..57b4c42 100644 --- a/c-busqueda/handler.cr +++ b/c-busqueda/handler.cr @@ -204,7 +204,7 @@ class Handler if genero DB.open("postgres://#{USER}:#{PASS}@10.61.0.1:5432/nombres") do |cursor| filtered = Array(Tuple(Int32, String)).new - nombres.map { |nombre| + datos.map { |nombre| fem = feminidad(cursor, nombre[1]) # El overlap en 0.5 es intencional! if fem >= 0.5 && genero == "f"