Skip to content

Issues after having added templated helper in PLUQ

ZHG2017 edited this page Apr 3, 2019 · 4 revisions

test-echelon.C does not compile properly with Integer type

test-echelon.C:441:107: required from here

../fflas-ffpack/ffpack/ffpack_ppluq.inl:150:44: error: cannot convert ‘FFPACK::rns_double_elt_ptr’ to ‘FFPACK::RNSIntegerMod::Element* {aka FFPACK::rns_double_elt*}’ in initialization

         typename Field::Element * A2 = A + N2;
                                            ^

../fflas-ffpack/ffpack/ffpack_ppluq.inl:151:47: error: cannot convert ‘FFPACK::rns_double_elt_ptr’ to ‘FFPACK::RNSIntegerMod::Element* {aka FFPACK::rns_double_elt*}’ in initialization

         typename Field::Element * A3 = A + M2*lda;
 In file included from ../fflas-ffpack/fflas/fflas.h:70:0, 
                  from ../fflas-ffpack/ffpack/ffpack.h:45, 
                  from test-echelon.C:42:

../fflas-ffpack/ffpack/ffpack_ppluq.inl:168:35: error: could not convert ‘A2’ from ‘FFPACK::RNSIntegerMod::Element* {aka FFPACK::rns_double_elt*}’ to ‘FFPACK::RNSIntegerMod::Element_ptr {aka FFPACK::rns_double_elt_ptr}’

                          { papplyP( Fi, FFLAS::FflasLeft, FFLAS::FflasNoTrans, N-N2, 0, M2, A2, lda, P1); }
                                   ^

../fflas-ffpack/paladin/parallel.h:106:32: note: in definition of macro ‘SYNCH_GROUP’