We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8033935 commit 4cf1152Copy full SHA for 4cf1152
1 file changed
src/alfred/data_structure/binary-alarm.hpp
@@ -45,7 +45,7 @@ struct BinaryAlarm {
45
}
46
47
inline int monitor(const std::vector<int> &pos, T v) {
48
- alm.emplace_back(V, v, T(0), pos);
+ alm.emplace_back(V - 1, v, T(0), pos);
49
const int id = alm.size() - 1;
50
if (v != 0) {
51
for (auto &p : pos) {
0 commit comments