Loading EDG/src/main/java/edg/graph/LAST.java +5 −2 Original line number Diff line number Diff line Loading @@ -740,9 +740,12 @@ public class LAST extends GraphWithRoot { switch (type) { case Generator: return getChild(node, 0); return getChildren(node, Node.Type.Generator).get(0); case Filter: return getChild(node, 1); List<Node> children = getChildren(node, Node.Type.Filter); if (children.isEmpty()) throw new IllegalArgumentException("The Restriction node does not contain Filter nodes"); return children.get(0); } case List: switch (type) Loading Loading
EDG/src/main/java/edg/graph/LAST.java +5 −2 Original line number Diff line number Diff line Loading @@ -740,9 +740,12 @@ public class LAST extends GraphWithRoot { switch (type) { case Generator: return getChild(node, 0); return getChildren(node, Node.Type.Generator).get(0); case Filter: return getChild(node, 1); List<Node> children = getChildren(node, Node.Type.Filter); if (children.isEmpty()) throw new IllegalArgumentException("The Restriction node does not contain Filter nodes"); return children.get(0); } case List: switch (type) Loading