fix order of constructor parameters in subtract in java
This commit is contained in:
parent
eed1eff28d
commit
4e952bd117
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class GF implements IGF {
|
|||
if (this.value < rhs.getValue()) {
|
||||
return new GF(this.characteristic, this.characteristic - (rhs.getValue() - this.value));
|
||||
}
|
||||
return new GF((this.value - rhs.getValue()), this.characteristic);
|
||||
return new GF(this.characteristic, (this.value - rhs.getValue()));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue