Commit 6a356742 authored by daniele.corallo's avatar daniele.corallo
Browse files

[403-add-stdist-warnings] added str fct to levelpair

parent 12b64708
......@@ -24,6 +24,13 @@ struct LevelPair {
LevelPair CoarserInTime() const { return LevelPair{space, time - 1}; }
LevelPair Next() const { return LevelPair{space + 1, time + 1}; }
std::string str() const {
std::stringstream ss;
ss << "[" << space << ", " << time << "]";
return ss.str();
}
};
inline bool operator==(const LevelPair &l1, const LevelPair &l2) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment