Skip to content

Commit a84f7cd

Browse files
committed
pile: fix invalid WitnessStstus::worse
1 parent cd94e92 commit a84f7cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl WitnessStatus {
108108
}
109109

110110
pub fn worst(self, other: Self) -> Self {
111-
if self.is_better(other) {
111+
if self.is_worse(other) {
112112
self
113113
} else {
114114
other

0 commit comments

Comments
 (0)