projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9613868
)
Using getOperator() directly instead of using -1. CID 1172262. (#1559)
author
Tim King
<taking@cs.nyu.edu>
Tue, 6 Feb 2018 07:47:26 +0000
(23:47 -0800)
committer
GitHub
<noreply@github.com>
Tue, 6 Feb 2018 07:47:26 +0000
(23:47 -0800)
src/expr/type_node.h
patch
|
blob
|
history
diff --git
a/src/expr/type_node.h
b/src/expr/type_node.h
index 72d00a5a250fa71edc3fbc07c983407f3a324681..14c4222a6df6351ed29a6eac8db039529283dfaf 100644
(file)
--- a/
src/expr/type_node.h
+++ b/
src/expr/type_node.h
@@
-233,7
+233,7
@@
public:
*/
inline Node getOperator() const {
Assert(getMetaKind() == kind::metakind::PARAMETERIZED);
- return Node(d_nv->get
Child(-1
));
+ return Node(d_nv->get
Operator(
));
}
/**