]> www.ginac.de Git - ginac.git/blobdiff - check/time_lw_M2.cpp
documentation update
[ginac.git] / check / time_lw_M2.cpp
index fcd587fc02b7b3d369b364aeaa3657f3ad62dc4e..063b517c8365182f8b6c5aec09c11e1e7ad06645 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]);
                }
        }