]> www.ginac.de Git - ginac.git/blobdiff - check/time_lw_M2.cpp
- use initializers in exception class pole_error.
[ginac.git] / check / time_lw_M2.cpp
index fcd587fc02b7b3d369b364aeaa3657f3ad62dc4e..8984250040ae7d13cb45edb4894b5936e5a0ce95 100644 (file)
@@ -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]);
                }
        }