Skip to content

Commit

Permalink
mover check enum fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NamrathaG authored and Shaz Qadeer committed May 22, 2024
1 parent 5a8510d commit 1352486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Concurrency/MoverCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ where first.IsRightMover || second.IsLeftMover

foreach (var sequentialization in civlTypeChecker.Sequentializations)
{
if (sequentialization is InlineSequentialization || (sequentialization is InductiveSequentialization && ((InductiveSequentialization)sequentialization).rule == InductiveSequentializationRule.IS1))
if (sequentialization is InlineSequentialization || (sequentialization is InductiveSequentialization sequentialization1 && sequentialization1.rule == InductiveSequentializationRule.ISL))
{
foreach (var leftMover in sequentialization.EliminatedActions)
{
Expand Down Expand Up @@ -116,7 +116,7 @@ where first.IsRightMover || second.IsLeftMover
}
}
}
if (sequentialization is InductiveSequentialization && ((InductiveSequentialization)sequentialization).rule == InductiveSequentializationRule.IS2)
if (sequentialization is InductiveSequentialization sequentialization2 && sequentialization2.rule == InductiveSequentializationRule.ISR)
{
foreach (var action in civlTypeChecker.MoverActions.Where(x => x.LayerRange.Contains(sequentialization.Layer)))
{
Expand Down

0 comments on commit 1352486

Please sign in to comment.