From: Raphaƫl Couturier Date: Tue, 25 Feb 2020 03:19:55 +0000 (+0100) Subject: aze X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/36e6e6be882eca5756f9fa3506e0629d2b54ddc1?ds=sidebyside;hp=5422421cfc1923f68c377dde5bee233a59e7845b aze --- diff --git a/IDA_new/ida_gf65_paper3.cpp b/IDA_new/ida_gf65_paper3.cpp index 14cb94c..9970012 100644 --- a/IDA_new/ida_gf65_paper3.cpp +++ b/IDA_new/ida_gf65_paper3.cpp @@ -505,8 +505,9 @@ int main(int argc, char **argv) */ // sleep(2); + float toto=0.001 auto start = std::chrono::system_clock::now(); - matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,0); + matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,&toto); auto end = std::chrono::system_clock::now(); std::chrono::duration elapsed_seconds = end-start; total_time+=elapsed_seconds.count(); @@ -634,7 +635,7 @@ int main(int argc, char **argv) float toto=0.001; for(int i=0;i<1000;i++) { - matS2=matrix_multiply(&gf, matInvGs, matCs, t, t, t, len, w, toto); + matS2=matrix_multiply(&gf, matInvGs, matCs, t, t, t, len, w, &toto); } end = std::chrono::system_clock::now();