summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-07-13 20:52:21 -0500
committerGitHub <noreply@github.com>2020-07-13 20:52:21 -0500
commitde4a6b434c66beebb588b9ef1257dae0b65b15db (patch)
treec45fe72ac96032b0e6f7ea53798443671ad08d86 /src/expr
parent5ab00f919611cc5ca98e4fdee257d02098442412 (diff)
parent84fe644cb1956119b7b35ede06ee93583eae1925 (diff)
Merge branch 'master' into nodeArrayStoreAllnodeArrayStoreAll
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/sequence.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/sequence.cpp b/src/expr/sequence.cpp
index 9ae19660b..394c1a407 100644
--- a/src/expr/sequence.cpp
+++ b/src/expr/sequence.cpp
@@ -98,7 +98,7 @@ bool Sequence::strncmp(const Sequence& y, size_t n) const
bool Sequence::rstrncmp(const Sequence& y, size_t n) const
{
- Assert(d_type == y.d_type);
+ Assert(getType() == y.getType());
size_t b = (size() >= y.size()) ? size() : y.size();
size_t s = (size() <= y.size()) ? size() : y.size();
if (n > s)
@@ -282,7 +282,7 @@ bool Sequence::hasSuffix(const Sequence& y) const
Sequence Sequence::update(size_t i, const Sequence& t) const
{
- Assert(d_type == t.d_type);
+ Assert(getType() == t.getType());
if (i < size())
{
std::vector<Node> vec(d_seq.begin(), d_seq.begin() + i);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback