diff options
Diffstat (limited to 'NodeOutput.cpp')
-rw-r--r-- | NodeOutput.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/NodeOutput.cpp b/NodeOutput.cpp index 00ca006..a02ba1f 100644 --- a/NodeOutput.cpp +++ b/NodeOutput.cpp @@ -1,7 +1,7 @@ #include "NodeOutput.h" #include "Exception.h" -#include <iostream> +#include "prut.h" NodeOutput NodeOutput::instance(NodeOutput::type); @@ -11,11 +11,11 @@ void NodeOutput::sim() { if (this->inputs.size() == 0) throw CircuitException("No inputs on probe"); - std::cout << this->inputs[0]->getLevel() << "foo" << std::endl; + prutprintf("level: %u", this->inputs[0]->getLevel()); } NodeOutput::NodeOutput(const NodeOutput * prototype) : Node() { } NodeOutput * NodeOutput::clone() const { return new NodeOutput(this); -}
\ No newline at end of file +} |