From b70b2eb49bddb0c881682f412e577c45f42140da Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 10 Aug 2007 14:16:42 +0100 Subject: [PATCH] fix Lut3 so it checks if output is empty --- ships/Lut3.ship | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ships/Lut3.ship b/ships/Lut3.ship index c6f39cf..5b9479e 100644 --- a/ships/Lut3.ship +++ b/ships/Lut3.ship @@ -43,7 +43,8 @@ under input {\tt in3}. if (box_in1.dataReadyForShip() && box_in2.dataReadyForShip() && box_in3.dataReadyForShip() && - box_inLut.dataReadyForShip()) { + box_inLut.dataReadyForShip() && + box_out.readyForDataFromShip()) { long a = box_in1.removeDataForShip(); long b = box_in2.removeDataForShip(); long c = box_in3.removeDataForShip(); -- 1.7.10.4