From bf82eb53ad2ee702d3b950555a1e579c47b6a7d5 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 15 Dec 2006 20:46:26 +0000 Subject: [PATCH] =?utf8?q?Encontr=C3=A9=20el=20bug=20hijoderemilputa!!!=20?= =?utf8?q?Mea=20culpa,=20mea=20culpa,=20mea=20culpa...?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- trunk/src/plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/plugin.cpp b/trunk/src/plugin.cpp index a1098e6..3669ba5 100644 --- a/trunk/src/plugin.cpp +++ b/trunk/src/plugin.cpp @@ -19,7 +19,7 @@ int SAbrTeoriaNew(brEval args[], brEval* result, void* data) int SAbrTeoriaSetDatoInicial(brEval args[], brEval* result, void* data) { CTeoria* t = (CTeoria*) BRPOINTER(args); - t->datos_iniciales.set_val(BRSTRING(args+1), BRINT(args+2)); + t->datos_iniciales.set_val(BRSTRING(args+1), BRDOUBLE(args+2)); return EC_OK; } @@ -27,7 +27,7 @@ int SAbrTeoriaSetDatoInicial(brEval args[], brEval* result, void* data) int SAbrTeoriaSetDatoFinal(brEval args[], brEval* result, void* data) { CTeoria* t = (CTeoria*) BRPOINTER(args); - t->datos_finales.set_val(BRSTRING(args+1), BRINT(args+2)); + t->datos_finales.set_val(BRSTRING(args+1), BRDOUBLE(args+2)); return EC_OK; } -- 2.43.0