Skip to content

Commit

Permalink
Shallow clone for CompiledExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam committed Feb 5, 2024
1 parent 79bb4e2 commit 456d7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redempt/crunch/CompiledExpression.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private void checkArgCount(int args) {
* @return A clone of this CompiledExpression
*/
public CompiledExpression clone() {
return new CompiledExpression(value.getClone(), variableCount);
return new CompiledExpression(value, variableCount);
}

/**
Expand Down

0 comments on commit 456d7f9

Please sign in to comment.