From 4dc84da8d6147088b21c96cec142b38f11618e0d Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Tue, 4 Oct 2005 05:12:54 +0000 Subject: [PATCH] Fixito para pot_ko(). Nuestro template de numero no tiene el operador ++, por lo que usamos += 1 por ahora. --- src/number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/number.h b/src/number.h index 3d64955..e7e9c7b 100644 --- a/src/number.h +++ b/src/number.h @@ -520,7 +520,7 @@ number < N, E > pot_ko(const number< N, E > &u, const number< N, E > &v) res = u; res.sign = u.sign; - for (i = 1; i < v; i++) { + for (i = 1; i < v; i += 1) { res *= u; } -- 2.43.0