Skip to content
Snippets Groups Projects
Commit 67f6778a authored by buehlera's avatar buehlera
Browse files

fixed delay error

parent 679a4518
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ public class DelayBlock extends TranslatorBlock
@Override
public SimCode toSim() throws BlockException, SocketNullException {
CodeDelay delay = new CodeDelay((SimTypeInt)this.getRequiredTranslatorBlockAtSocket(0).toSim());
CodeDelay delay = new CodeDelay(new SimTypeInt (this.getRequiredTranslatorBlockAtSocket(0).toSim()));
return delay;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment