]> www.ginac.de Git - ginac.git/blobdiff - check/exam_lsolve.cpp
print_tree: only print the "nops=" line when nops() > 0
[ginac.git] / check / exam_lsolve.cpp
index 1a47865181df516bccab7a5286c84fc645d27769..ff510b314dde61623ef9bef397a99fcda6b9fc50 100644 (file)
@@ -3,7 +3,7 @@
  *  These exams test solving small linear systems of symbolic equations. */
 
 /*
  *  These exams test solving small linear systems of symbolic equations. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 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
  *
  *  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
@@ -22,7 +22,7 @@
 
 #include "exams.h"
 
 
 #include "exams.h"
 
-static unsigned exam_lsolve1(void)
+static unsigned exam_lsolve1()
 {
        // A trivial example.
        unsigned result = 0;
 {
        // A trivial example.
        unsigned result = 0;
@@ -40,7 +40,7 @@ static unsigned exam_lsolve1(void)
        return result;
 }
 
        return result;
 }
 
-static unsigned exam_lsolve2a(void)
+static unsigned exam_lsolve2a()
 {
        // An example from the Maple online help.
        unsigned result = 0;
 {
        // An example from the Maple online help.
        unsigned result = 0;
@@ -68,7 +68,7 @@ static unsigned exam_lsolve2a(void)
        return result;
 }
 
        return result;
 }
 
-static unsigned exam_lsolve2b(void)
+static unsigned exam_lsolve2b()
 {
        // A boring example from Mathematica's online help.
        unsigned result = 0;
 {
        // A boring example from Mathematica's online help.
        unsigned result = 0;
@@ -96,7 +96,7 @@ static unsigned exam_lsolve2b(void)
        return result;
 }
 
        return result;
 }
 
-static unsigned exam_lsolve2c(void)
+static unsigned exam_lsolve2c()
 {
        // A more interesting example from the Maple online help.
        unsigned result = 0;
 {
        // A more interesting example from the Maple online help.
        unsigned result = 0;
@@ -124,7 +124,7 @@ static unsigned exam_lsolve2c(void)
        return result;
 }
 
        return result;
 }
 
-static unsigned exam_lsolve2S(void)
+static unsigned exam_lsolve2S()
 {
        // A degenerate example that went wrong in GiNaC 0.6.2.
        unsigned result = 0;
 {
        // A degenerate example that went wrong in GiNaC 0.6.2.
        unsigned result = 0;
@@ -152,7 +152,7 @@ static unsigned exam_lsolve2S(void)
        return result;
 }
 
        return result;
 }
 
-static unsigned exam_lsolve3S(void)
+static unsigned exam_lsolve3S()
 {
        // A degenerate example that went wrong while trying to improve elimination
        unsigned result = 0;
 {
        // A degenerate example that went wrong while trying to improve elimination
        unsigned result = 0;
@@ -183,7 +183,7 @@ static unsigned exam_lsolve3S(void)
        return result;
 }
 
        return result;
 }
 
-unsigned exam_lsolve(void)
+unsigned exam_lsolve()
 {
        unsigned result = 0;
        
 {
        unsigned result = 0;