Patched small bug in create_sub_expressions

This commit is contained in:
Andrew S. Rightenburg 2023-08-24 09:41:51 -04:00
parent 6d53407e67
commit 290f3404d6
Signed by: rail5
GPG Key ID: A0CB570AB6629159
1 changed files with 2 additions and 2 deletions

View File

@ -360,8 +360,8 @@ std::vector<std::string> create_sub_expressions(std::string expression) {
std::vector<std::string> output;
for (int i=0; i<components.size(); i++) {
int upper_limit = components.size() - i;
for (int i=0; i<components.size()-1; i++) {
int upper_limit = components.size() - i - 1;
std::string sub_expression = "";