Skip to content

Commit

Permalink
bug in return value fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ellab123 committed May 21, 2020
1 parent 78bf973 commit 3c39efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/VeriSol/VeriSolExecuter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ public int Execute()
if (e.Message == "Compilation Error")
{
Console.WriteLine($"VeriSol Error: {e.Message}");
return 0;
return 1;
}
else
{
Console.WriteLine($"VeriSol translation error: {e.Message}");
return 0;
return 1;
}
}
// try to prove first
Expand Down

0 comments on commit 3c39efb

Please sign in to comment.