Subject: Mathemagix
List archive
- From: Angelos Mantzaflaris <address@concealed>
- To: address@concealed
- Subject: Re: [Mathemagix] Errors in Algebramix
- Date: Tue, 15 Sep 2009 18:05:54 +0200
Compiled OK for me.
fc10,
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
On Tue, 2009-09-15 at 17:52 +0200, olivier ruatta wrote:
> System fedora10
> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
>
> ../include/algebramix/matrix_crt.hpp: In static member function `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat) [with C =
> mmx::integer, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]':
> ../include/algebramix/matrix_balanced.hpp:104: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply, V,
> mmx::matrix_balanced<W> >::mul(C*, const C*, const C*, mmx::nat,
> mmx::nat, mmx::nat) [with C = mmx::integer, V = mmx::matrix_integer, W =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >]'
> ../include/algebramix/matrix.hpp:671: instantiated from
> `mmx::matrix<C, V> mmx::operator*(const mmx::matrix<C, V>&, const
> mmx::matrix<C, V>&) [with C = mmx::integer, V = mmx::matrix_integer]'
> ../glue/glue_matrix_integer.cpp:179: instantiated from here
> ../include/algebramix/matrix_crt.hpp:282: warning: converting to
> `mmx::nat' from `double'
> ../include/algebramix/matrix_modular_int.hpp: In static member function
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::_mul_int(mmx::modular<mmx::modulus<I, W>,
> V2>*, const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]':
> ../include/algebramix/matrix_modular_int.hpp:266: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::mul(mmx::modular<mmx::modulus<I, W>, V2>*,
> const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_naive.hpp:398: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V,
> mmx::matrix_naive>::mul(D*, const S1*, const S2*, mmx::nat, mmx::nat,
> mmx::nat) [with D = mmx::modular<mmx::modulus<int,
> mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, S1 =
> mmx::modular<mmx::modulus<int, mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, S2 =
> mmx::modular<mmx::modulus<int, mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_crt.hpp:216: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat,
> mmx::crt_naive_transformer<C, S, CV>&) [with C = mmx::integer, S =
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_naive, CV =
> mmx::crt_naive_integer, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_crt.hpp:246: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat,
> mmx::crt_blocks_transformer<Low, High, s, CV>&) [with C = mmx::integer,
> Low = mmx::crt_naive_transformer<mmx::integer,
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_naive,
> mmx::crt_naive_integer>, High = mmx::crt_dicho_transformer<mmx::integer,
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_dicho,
> mmx::crt_dicho_integer>, unsigned int s = 160u, CV =
> mmx::crt_blocks<mmx::crt_naive_integer>, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_crt.hpp:294: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat) [with C =
> mmx::integer, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_balanced.hpp:104: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply, V,
> mmx::matrix_balanced<W> >::mul(C*, const C*, const C*, mmx::nat,
> mmx::nat, mmx::nat) [with C = mmx::integer, V = mmx::matrix_integer, W =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >]'
> ../include/algebramix/matrix.hpp:671: instantiated from
> `mmx::matrix<C, V> mmx::operator*(const mmx::matrix<C, V>&, const
> mmx::matrix<C, V>&) [with C = mmx::integer, V = mmx::matrix_integer]'
> ../glue/glue_matrix_integer.cpp:179: instantiated from here
> ../include/algebramix/matrix_modular_int.hpp:225: error: call of
> overloaded `decode_modular_int(mmx::modular<mmx::modulus<int,
> mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >*&, double*&, mmx::nat&,
> mmx::nat&, mmx::nat&, mmx::nat&)' is ambiguous
> ../include/algebramix/matrix_modular_int.hpp:102: note: candidates are:
> void mmx::decode_modular_int(mmx::modular<mmx::modulus<C, V1>, V2>*,
> const D*, mmx::nat, mmx::nat, mmx::nat, mmx::nat) [with Op =
> mmx::mul_op, V = mmx::matrix_double, C = int, D = double, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>]
> ../include/algebramix/matrix_modular_int.hpp:128: note:
> void mmx::decode_modular_int(mmx::modular<mmx::modulus<C, V1>, V2>*,
> const double*, mmx::nat, mmx::nat, mmx::nat, mmx::nat) [with Op =
> mmx::mul_op, V = mmx::matrix_double, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>]
> ../include/algebramix/matrix_modular_int.hpp: In static member function
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::_mul_int(mmx::modular<mmx::modulus<I, W>,
> V2>*, const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_add_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]':
> ../include/algebramix/matrix_modular_int.hpp:266: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::mul(mmx::modular<mmx::modulus<I, W>, V2>*,
> const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_add_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_modular_int.hpp:248: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::_mul_int(mmx::modular<mmx::modulus<I, W>,
> V2>*, const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_modular_int.hpp:266: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply_base, V,
> mmx::matrix_modular_int>::mul(mmx::modular<mmx::modulus<I, W>, V2>*,
> const mmx::modular<mmx::modulus<I, W>, V2>*, const
> mmx::modular<mmx::modulus<I, W>, V2>*, mmx::nat, mmx::nat, mmx::nat,
> mmx::nat, mmx::nat, mmx::nat) [with Op = mmx::mul_op, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_naive.hpp:398: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V,
> mmx::matrix_naive>::mul(D*, const S1*, const S2*, mmx::nat, mmx::nat,
> mmx::nat) [with D = mmx::modular<mmx::modulus<int,
> mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, S1 =
> mmx::modular<mmx::modulus<int, mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, S2 =
> mmx::modular<mmx::modulus<int, mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >, V = mmx::matrix_modular_int]'
> ../include/algebramix/matrix_crt.hpp:216: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat,
> mmx::crt_naive_transformer<C, S, CV>&) [with C = mmx::integer, S =
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_naive, CV =
> mmx::crt_naive_integer, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_crt.hpp:246: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat,
> mmx::crt_blocks_transformer<Low, High, s, CV>&) [with C = mmx::integer,
> Low = mmx::crt_naive_transformer<mmx::integer,
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_naive,
> mmx::crt_naive_integer>, High = mmx::crt_dicho_transformer<mmx::integer,
> mmx::matrix_crt_multiply_helper<mmx::integer>::mat_crt_dicho,
> mmx::crt_dicho_integer>, unsigned int s = 160u, CV =
> mmx::crt_blocks<mmx::crt_naive_integer>, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_crt.hpp:294: instantiated from `static
> void mmx::implementation<mmx::matrix_multiply, V, mmx::matrix_crt<W>
> >::mul(C*, const C*, const C*, mmx::nat, mmx::nat, mmx::nat) [with C =
> mmx::integer, V =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >, W =
> mmx::matrix_ring_naive<mmx::matrix_naive>]'
> ../include/algebramix/matrix_balanced.hpp:104: instantiated from
> `static void mmx::implementation<mmx::matrix_multiply, V,
> mmx::matrix_balanced<W> >::mul(C*, const C*, const C*, mmx::nat,
> mmx::nat, mmx::nat) [with C = mmx::integer, V = mmx::matrix_integer, W =
> mmx::matrix_crt<mmx::matrix_ring_naive<mmx::matrix_naive> >]'
> ../include/algebramix/matrix.hpp:671: instantiated from
> `mmx::matrix<C, V> mmx::operator*(const mmx::matrix<C, V>&, const
> mmx::matrix<C, V>&) [with C = mmx::integer, V = mmx::matrix_integer]'
> ../glue/glue_matrix_integer.cpp:179: instantiated from here
> ../include/algebramix/matrix_modular_int.hpp:225: error: call of
> overloaded `decode_modular_int(mmx::modular<mmx::modulus<int,
> mmx::modulus_int_preinverse<20u> >,
> mmx::modular_matrix_crt<mmx::integer> >*&, double*&, mmx::nat&,
> mmx::nat&, mmx::nat&, mmx::nat&)' is ambiguous
> ../include/algebramix/matrix_modular_int.hpp:102: note: candidates are:
> void mmx::decode_modular_int(mmx::modular<mmx::modulus<C, V1>, V2>*,
> const D*, mmx::nat, mmx::nat, mmx::nat, mmx::nat) [with Op =
> mmx::mul_add_op, V = mmx::matrix_double, C = int, D = double, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>]
> ../include/algebramix/matrix_modular_int.hpp:128: note:
> void mmx::decode_modular_int(mmx::modular<mmx::modulus<C, V1>, V2>*,
> const double*, mmx::nat, mmx::nat, mmx::nat, mmx::nat) [with Op =
> mmx::mul_add_op, V = mmx::matrix_double, C = int, V1 =
> mmx::modulus_int_preinverse<20u>, V2 =
> mmx::modular_matrix_crt<mmx::integer>]
> make[2]: *** [libmmxalgebramix_la-glue_matrix_integer.lo] Error 1
> make[2]: Leaving directory `/home/dmi/ruatta/mmx/algebramix/build'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dmi/ruatta/mmx/algebramix'
> make: *** [algebramix-all] Error 2
>
>
>
- [Mathemagix] Errors in Algebramix, olivier ruatta, 09/15/2009
- Re: [Mathemagix] Errors in Algebramix, Angelos Mantzaflaris, 09/15/2009
- Re: [Mathemagix] Errors in Algebramix, Grégoire Lecerf, 09/21/2009
Archive powered by MHonArc 2.6.18.