apply clang-format settings to the c++ sources in the unittest tree

This commit is contained in:
Axel Kohlmeyer
2020-06-13 01:54:58 -04:00
parent 4d62ea98cf
commit 3db944decc
18 changed files with 1400 additions and 1429 deletions

View File

@ -20,9 +20,7 @@ class ErrorStats {
public:
friend std::ostream &operator<<(std::ostream &out, const ErrorStats &stats);
ErrorStats() {
reset();
}
ErrorStats() { reset(); }
virtual ~ErrorStats() {}
void reset();
@ -33,8 +31,8 @@ public:
double idx() const { return maxidx; }
private:
double sum,sumsq,maxerr;
int num,maxidx;
double sum, sumsq, maxerr;
int num, maxidx;
};
extern std::ostream &operator<<(std::ostream &out, const ErrorStats &stats);