--- ZZXFactoring.c.safe 2008-09-29 13:33:01.000000000 +0200
+++ ZZXFactoring.c      2008-09-29 13:37:54.000000000 +0200
@@ -4,7 +4,7 @@
 #include <NTL/vec_vec_long.h>
 #include <NTL/vec_vec_ulong.h>
 #include <NTL/vec_double.h>
-
+#include <fstream>
 #include <NTL/LLL.h>

 #include <NTL/new.h>
@@ -3286,7 +3286,17 @@

          if (verbose) cerr << "   LLL...";

-
+    ofstream fout;
+    ifstream fin;
+    fout.open("/home/novocin/testmat");
+    fout << M;
+    fout.close();
+    system("/home/novocin/fplll < /home/novocin/testmat > /home/
novocin/rsltmat
");
+    cout << "Just checking" << endl;
+    fin.open("/home/novocin/rsltmat");
+    fin >> M;
+    fin.close();
+
          tt0 = GetTime();

          vec_ZZ D;


On Sep 30, 7:54 pm, mabshoff <[EMAIL PROTECTED]> wrote:
> I am talking to Andy in IRC: the code currently calls fplll via shell,
> i.e. 'system("./fplll < testmat > rsltmat")', so we can make this
> likely more efficient. He is also using the latest fplll 3.0 which has
> been out for a couple weeks. I had planned to upgrade to it during SD
> 10.
>
> The modifications Andy made are limited to one file and he will send
> us a patch to the list shortly.
>
> Cheers,
>
> Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to