]> www.ginac.de Git - ginac.git/blobdiff - check/time_lw_M2.cpp
mentioned the imaginary unit 'I'
[ginac.git] / check / time_lw_M2.cpp
index fcd587fc02b7b3d369b364aeaa3657f3ad62dc4e..b677f01ec39ddf97c85e607e3220f6c42e8dc96f 100644 (file)
@@ -4,7 +4,7 @@
  *  Lewis and Michael Wester. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -137,7 +137,7 @@ static unsigned test(void)
        for (unsigned r=0; r<101; ++r) {
                for (unsigned c=0; c<10; ++c) {
                        m.set(r,
-                             unsigned(ex_to_numeric(w[r][2*c+1]).to_int()-1),
+                             unsigned(ex_to<numeric>(w[r][2*c+1]).to_int()-1),
                              w[r][2*c+2]);
                }
        }
@@ -157,7 +157,7 @@ unsigned time_lw_M2(void)
        double time = .0;
        
        cout << "timing Lewis-Wester test M2 (101x101 sparse, det)" << flush;
-       clog << "-------Lewis-Wester test M2 (101x101 sparse, det)" << endl;
+       clog << "-------Lewis-Wester test M2 (101x101 sparse, det):" << endl;
        
        if (do_test) {
                piaget.start();