Skip to content
Snippets Groups Projects
Commit 9eeb53d5 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

added convenience function to create constants

parent 81b0c22f
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,12 @@ namespace ChimeraTK {
return counter;
}
/** Convenience function for creating constants. See VariableNetworkNode::makeConstant() for details. */
template<typename UserType>
static VariableNetworkNode makeConstant(UserType value, size_t length=1, bool makeFeeder=true) {
return VariableNetworkNode::makeConstant(makeFeeder, value, length);
}
protected:
friend class Module;
......
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