Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix subtle bug in ~_E computation
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 30 May 2023 11:42:32 +0000 (13:42 +0200)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 30 May 2023 11:42:32 +0000 (13:42 +0200)
commit983ff2d3ba0217acac8e5c963f6669be3b4f9e02
tree0ed756df2692b378112985f177a92371b0b1cee4
parentd2dde43678c66f9593c2a2151f0f6e7c85d3b079
Fix subtle bug in ~_E computation

The computation for the action ~_E requires
that we compute whether `p` is independent with
some sequence of transitions `w` after an
execution `E`. The algorithm for computing
whether an equivalent trace was found works
to iteratively eliminate events from the
equivalent sequence, leaving behind only
the remaining "bits" that are needed for
insertion into a wakeup tree.

The bug involved a typo of `w` for `w_now`
:( :( which broke everything :/
src/mc/api/State.cpp
src/mc/explo/odpor/Execution.cpp
src/mc/explo/odpor/Execution_test.cpp
src/mc/explo/odpor/ReversibleRaceCalculator.cpp
src/mc/explo/odpor/WakeupTree_test.cpp
src/mc/mc_config.cpp