Skip to content

Commit

Permalink
Ugly commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
vakaras committed Jan 27, 2023
1 parent b5f391a commit 87152d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prusti-utils/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ pub fn check_timeout() -> Option<u32> {
pub fn use_more_complete_exhale() -> bool {
let result = read_setting("use_more_complete_exhale");
assert!(
result != read_setting::<bool>("use_carbon_qps"),
!(result && read_setting::<bool>("use_carbon_qps")),
"use_more_complete_exhale and use_carbon_qps are mutually exclusive"
);
result
Expand All @@ -529,7 +529,7 @@ pub fn use_more_complete_exhale() -> bool {
pub fn use_carbon_qps() -> bool {
let result = read_setting("use_carbon_qps");
assert!(
result != read_setting::<bool>("use_more_complete_exhale"),
!(result && read_setting::<bool>("use_more_complete_exhale")),
"use_more_complete_exhale and use_carbon_qps are mutually exclusive"
);
result
Expand Down

0 comments on commit 87152d6

Please sign in to comment.