]> www.ginac.de Git - ginac.git/blobdiff - check/exam_numeric.cpp
Use initializer lists to construct container<>, lst.
[ginac.git] / check / exam_numeric.cpp
index 27d68f78b9167b804f24e68451d9362ed07e610d..73700a1345fcc9c29eb776cfa2d09893efd7235a 100644 (file)
@@ -1,6 +1,6 @@
 /** @file exam_numeric.cpp
  *
- *  These exams creates some numbers and check the result of several boolean
+ *  These exams creates some numbers and check the result of several Boolean
  *  tests on these numbers like is_integer() etc... */
 
 /*
@@ -366,7 +366,7 @@ static unsigned exam_numeric6()
 
                                        // Read back expression from string
                                        string x_as_string = s.str();
-                                       ex x_again(x_as_string, lst(sym));
+                                       ex x_again(x_as_string, lst{sym});
 
                                        // They should be equal
                                        if (!x_again.is_equal(x)) {