-/* Copyright (c) 2012-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
}
auto grant = my_mailbox->get_unique<Message>();
+ xbt_assert(grant->kind == Message::Kind::GRANT);
- if ((id == 1) && (grant->kind == Message::Kind::GRANT)) {
+ if (id == 1) {
cs = 1;
r = 0;
XBT_INFO("Propositions changed : r=0, cs=1");