]> www.ginac.de Git - ginac.git/blobdiff - cint/exam_paranoia.cpp
documentation update
[ginac.git] / cint / exam_paranoia.cpp
index d227545dcee27a9b272d5ed651171e13d9c0d535..26dca05e35eea8009f77fefea3e92cf38aec2810 100755 (executable)
@@ -1,23 +1,23 @@
 #! ./run_exams --silent
-int result = 0;
+unsigned result = 0;
 /*
  * Old Cint versions messed up unary and binary operators:
  */
 {
-    symbol x;
-    ex a = x-x;
-    if (!a.is_zero()) {
-        ++result;
-    }
+       symbol x;
+       ex a = x-x;
+       if (!a.is_zero()) {
+               ++result;
+       }
 }
 /*
  * Some problems with objects of class relational when cast to bool:
  */
 {
-    symbol x;
-    ex a = x;
-    if (a != a) {
-        ++result;
-    }
+       symbol x;
+       ex a = x;
+       if (a != a) {
+               ++result;
+       }
 }
 exit(result);