diff --git a/lab3/zad2/app/src/main/java/pl/jacekpoz/GF.java b/lab3/zad2/app/src/main/java/pl/jacekpoz/GF.java index a43f9b5..5fab315 100644 --- a/lab3/zad2/app/src/main/java/pl/jacekpoz/GF.java +++ b/lab3/zad2/app/src/main/java/pl/jacekpoz/GF.java @@ -18,7 +18,7 @@ public class GF implements IGF { public GF(final long characteristic, final long value) { this.characteristic = characteristic; - this.value = value; + this.value = value % this.characteristic; } /*