aboutsummaryrefslogtreecommitdiff
path: root/NodeOutput.cpp
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2024-06-12 13:34:39 +0200
committerUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2024-06-12 13:34:39 +0200
commit6fd8dcb9e0d33f7660c4e3a602a5c2a2b5091a7c (patch)
tree552da0be4b056d8a35e8620f8788abc4a2d56061 /NodeOutput.cpp
parentdb98449454a0d94a9e375c0fe0998c76d7c5d6ef (diff)
renamed compare function to sim function
Diffstat (limited to 'NodeOutput.cpp')
-rw-r--r--NodeOutput.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/NodeOutput.cpp b/NodeOutput.cpp
index cff66c0..d47b6a3 100644
--- a/NodeOutput.cpp
+++ b/NodeOutput.cpp
@@ -5,9 +5,11 @@ NodeOutput NodeOutput::instance(NodeOutput::type);
NodeOutput::NodeOutput(const char * type) : Node(type) { }
-void NodeOutput::compare() {
+void NodeOutput::sim() {
if (this->inputs.size() > 0) {
- std::cout << this->inputs[0]->getLevel() << std::endl;
+ std::cout << this->inputs[0]->getLevel() << "foo" << std::endl;
+ } else {
+ std::cout << "err: No inputs on probe" << std::endl;
}
}