]> www.ginac.de Git - cln.git/blobdiff - tests/timefact.cc
* Add table of contents in TeX output.
[cln.git] / tests / timefact.cc
index c7af4e0c38d83b288b2997651fb20ec27ab49c08..894f02800770f7ff50fdb27426a22a3f87cdc33f 100644 (file)
@@ -3,8 +3,8 @@
 #include <cln/integer.h>
 #include <cln/random.h>
 #include "cl_I.h"
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
 #include <cln/timing.h>
 using namespace cln;
 
@@ -20,6 +20,6 @@ int main (int argc, char * argv[])
        cl_I m = cl_I(argv[1]);
        { CL_TIMING;
          for (int rep = repetitions; rep > 0; rep--)
-           cl_I f = factorial(FN_to_L(m));
+           cl_I f = factorial(FN_to_V(m));
        }
 }