From 84210122a8951eb3b854780bb62ec7c1ccfe977d Mon Sep 17 00:00:00 2001 From: QwertygidQ Date: Wed, 9 Aug 2017 17:58:34 +0300 Subject: [PATCH] Added a little comment that clarifies behavior more --- com/qwertygid/deutschsim/Logic/Gate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/qwertygid/deutschsim/Logic/Gate.java b/com/qwertygid/deutschsim/Logic/Gate.java index 81aefec..5834ae9 100644 --- a/com/qwertygid/deutschsim/Logic/Gate.java +++ b/com/qwertygid/deutschsim/Logic/Gate.java @@ -72,7 +72,7 @@ public Gate(final String id, final Table gates) { public Gate(final String id, final FieldMatrix mat) { this.id = id; - this.IO_ports = (int) (Math.log(mat.getColumnDimension()) / Math.log(2)); + this.IO_ports = (int) (Math.log(mat.getColumnDimension()) / Math.log(2)); // Get base-2 logarithm of mat.getColumnDimension() this.mat = mat; if (!valid())