We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6899413 commit 9439bf6Copy full SHA for 9439bf6
bin/jama2/Matrix.class
7.16 KB
src/jama2/Matrix.java
@@ -938,12 +938,7 @@ public int getRowDimension()
938
@Override
939
public int hashCode()
940
{
941
- final int prime = 31;
942
- int result = 1;
943
- result = prime * result + Arrays.hashCode(this.A);
944
- result = prime * result + this.m;
945
- result = prime * result + this.n;
946
- return result;
+ return Arrays.deepHashCode(this.A);
947
}
948
949
/**
0 commit comments