From 9902c0b6c58df304fe5a286b3b73598a268c9892 Mon Sep 17 00:00:00 2001 From: imsfc Date: Sat, 5 Oct 2024 00:50:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=95=E9=83=A8=E7=BB=9F=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E5=BF=BD=E7=95=A5=E5=B0=8F=E4=BA=8E0.00001=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/modularFactoryComputedStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/modularFactoryComputedStore.ts b/src/stores/modularFactoryComputedStore.ts index ee04194..64e63a8 100644 --- a/src/stores/modularFactoryComputedStore.ts +++ b/src/stores/modularFactoryComputedStore.ts @@ -39,7 +39,7 @@ const makeNetValues = () => { const getInputs = () => { return netValues - .filter(({ netValue }) => netValue.lt(0)) + .filter(({ netValue }) => netValue.lt(-0.00001)) .sort((a, b) => a.netValue.sub(b.netValue).toNumber()) .map(({ itemId, netValue }) => ({ itemId, @@ -49,7 +49,7 @@ const makeNetValues = () => { const getOutputs = () => { return netValues - .filter(({ netValue }) => netValue.gt(0)) + .filter(({ netValue }) => netValue.gt(0.00001)) .sort((a, b) => b.netValue.sub(a.netValue).toNumber()) .map(({ itemId, netValue }) => ({ itemId,