|
@@ -108,7 +108,7 @@ public class BlockCalc {
|
|
|
}
|
|
|
} );
|
|
|
nodeLoop.add( ifNode );
|
|
|
- ifNode.add( new PseudoCodeNode( "call calcLayout( layout, n );", vars, tree, new FunctionCall( root, new String[]{ "layout", "n" } ) ) );
|
|
|
+ ifNode.add( new PseudoCodeNode( "call calcLayout( layout, n );", vars, tree, new FunctionCall( claclLayout, new String[]{ "layout", "n" } ) ) );
|
|
|
nodeLoop.add( new PseudoCodeNode( "neighbors = layout.contains('DOWN') ? predecessors(n) : successors(n)", vars, tree, new DeclareVariable<ArrayList<LayeredGraphNode>>( "neighbors" ) {
|
|
|
@Override
|
|
|
protected ArrayList<LayeredGraphNode> value(ReadOnlyMemory m) {
|