From: bdemsky Date: Tue, 1 Aug 2006 22:56:17 +0000 (+0000) Subject: Bug fixes X-Git-Tag: preEdgeChange~860 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de022e798e527ee5d5b68905059b3a40aa3ecb46;p=IRC.git Bug fixes --- diff --git a/Robust/src/IR/Flat/BuildFlat.java b/Robust/src/IR/Flat/BuildFlat.java index f47fdeeb..a0fcb722 100644 --- a/Robust/src/IR/Flat/BuildFlat.java +++ b/Robust/src/IR/Flat/BuildFlat.java @@ -51,6 +51,9 @@ public class BuildFlat { /* This method transforms a vector of FlagEffects into the FlatFlagActionNode */ private void updateFlagActionNode(FlatFlagActionNode ffan, Vector flags) { + if (flags==null) // Do nothing if the flag effects vector is empty + return; + for(int i=0;i