From 0771e5c370fc9e641c6b324a43ec5e6e03e92eaf Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Thu, 5 Oct 2023 22:10:13 -0400 Subject: [PATCH] Fix hypothetical advantage not being calculated --- src/datasets.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datasets.rs b/src/datasets.rs index 5905f6b..c24ab8c 100644 --- a/src/datasets.rs +++ b/src/datasets.rs @@ -338,8 +338,8 @@ pub fn is_isolated( .bind((":pl", player.0 as i64))? .next() { - None => Ok(false), - Some(r) => r.map(|_| true), + None => Ok(true), + Some(r) => r.map(|_| false), } }