Make Permutation::equals compatible with unit tests (added tolerance argument)

release/4.3a0
Richard Roberts 2011-08-15 20:24:02 +00:00
parent 7095fabfbe
commit 007ca72efe
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public:
void print(const std::string& str = "Permutation: ") const;
/** Equals */
bool equals(const Permutation& rhs) const { return rangeIndices_ == rhs.rangeIndices_; }
bool equals(const Permutation& rhs, double tol=0.0) const { return rangeIndices_ == rhs.rangeIndices_; }
/**
* Syntactic sugar for accessing another container through a permutation.