diff options
author | Josh Blum | 2012-09-09 18:54:49 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-09 18:54:49 -0700 |
commit | 920d654bcf22024fe08c35474fdfcf8df7c72a4d (patch) | |
tree | 46db7e638d8e65b643c0e62ea3b62b73b2127b39 /lib/element.cpp | |
parent | 203950da07d91482a05bd364367d116e0916e198 (diff) | |
download | sandhi-920d654bcf22024fe08c35474fdfcf8df7c72a4d.tar.gz sandhi-920d654bcf22024fe08c35474fdfcf8df7c72a4d.tar.bz2 sandhi-920d654bcf22024fe08c35474fdfcf8df7c72a4d.zip |
work on implementing forecast logic and failure cases
* still a bit to clean up
* commented out case of consume zero and 0 reserve for input queues
Diffstat (limited to 'lib/element.cpp')
-rw-r--r-- | lib/element.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/element.cpp b/lib/element.cpp index 83b07b2..cdb856e 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -30,10 +30,11 @@ Element::Element(void) Element::Element(const std::string &name) { this->reset(new ElementImpl()); - if (GENESIS) std::cout << "New element: " << name << std::endl; (*this)->name = name; (*this)->unique_id = ++unique_id_pool; + if (GENESIS) std::cout << "New element: " << name << std::endl; + //default io signature to something IOSignature sig; sig.push_back(1); this->set_input_signature(sig); |