1
0

add missing operator definitions

This commit is contained in:
2020-01-08 22:26:33 -05:00
parent 4fd22f343e
commit 7cfb0a3803

View File

@@ -2,6 +2,7 @@
#include <utility>
#include <sstream>
#include <algorithm>
namespace tc {
Action::Action(int from_idx, int gen)
@@ -149,4 +150,12 @@ namespace tc {
}
}
}
Group operator*(const Group &g, const Group &h) {
return g.product(h);
}
Group operator^(const Group &g, int p) {
return g.power(p);
}
}