From: Leandro Lucarella Date: Fri, 15 Dec 2006 20:46:26 +0000 (+0000) Subject: Encontré el bug hijoderemilputa!!! Mea culpa, mea culpa, mea culpa... X-Git-Tag: entrega-20061218~29 X-Git-Url: https://git.llucax.com/z.facultad/75.68/celdas.git/commitdiff_plain/bf82eb53ad2ee702d3b950555a1e579c47b6a7d5 Encontré el bug hijoderemilputa!!! Mea culpa, mea culpa, mea culpa... --- 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; }