Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/CyberSpock/antiprism into rk
Browse files Browse the repository at this point in the history
  • Loading branch information
antiprism committed Dec 15, 2020
2 parents 940ffa6 + e281e16 commit ef3d0e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conway.cc
Expand Up @@ -198,7 +198,7 @@ class ops {
bool cmp_ops(const ops *a, const ops *b) { return a->op_pos > b->op_pos; }

// op, sub and sides will be reset
void write_operation(vector<ops *> &operations, int op_count, char &op, int &sub, int &sides)
void write_operation(vector<ops *> &operations, int &op_count, char &op, int &sub, int &sides)
{
operations.push_back(new ops(op_count++, op, sub, sides));
op = '\0';
Expand Down Expand Up @@ -297,7 +297,7 @@ Status validate_cn_string(const string &cn_string, vector<ops *> &operations,
char op_last = operations[operations.size()-1]->op;
int sub_last = operations[operations.size()-1]->sub;
int sides_last = operations[operations.size()-1]->sides;
for (unsigned int i = 0; i < num_val - 1; i++)
for (int i = 0; i < num_val - 1; i++)
operations.push_back(new ops(op_count++, op_last, sub_last, sides_last));

possible_repeats = -1;
Expand Down

0 comments on commit ef3d0e7

Please sign in to comment.