Skip to content

Commit

Permalink
No need for the module override to be synchronized.
Browse files Browse the repository at this point in the history
[Refactor]
  • Loading branch information
lemmy committed Sep 20, 2022
1 parent 781d419 commit da543f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tlc2/overrides/DyadicRationals.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ELSE Rational(p.num \div gcd, p.den \div gcd)
*/
@TLAPlusOperator(identifier = "Reduce", module = "DyadicRationals", warn = false)
public static synchronized Value reduce(final Value val) {
public static Value reduce(final Value val) {
if (!(val instanceof RecordValue)) {
throw new EvalException(EC.TLC_MODULE_ONE_ARGUMENT_ERROR,
new String[] { "Half", "record", Values.ppr(val.toString()) });
Expand Down

0 comments on commit da543f2

Please sign in to comment.