From 9d07dc12cd46891ac0caba826edfbd0cc42104e7 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Mon, 3 Oct 2005 07:32:09 +0000 Subject: [PATCH] Prototipo de karatsuba() con const y &. --- src/number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/number.h b/src/number.h index 2048d57..3f8552b 100644 --- a/src/number.h +++ b/src/number.h @@ -291,7 +291,7 @@ std::pair< number< N, E >, number< N, E > > number< N, E >::split() const // es el algoritmo de divisiĆ³n y conquista, que se llama recursivamente template < typename N, typename E > -number < N, E > karatsuba(number< N, E > u, number< N, E > v) +number < N, E > karatsuba(const number< N, E > &u, const number< N, E > &v) { typedef number< N, E > num_type; -- 2.43.0