mirror of
https://bitbucket.org/Mattrixwv/matrix.git
synced 2025-12-06 15:03:58 -05:00
Fix build warnings
This commit is contained in:
@@ -508,7 +508,7 @@ public class LongMatrix{
|
||||
for(int leftRow = 0;leftRow < grid.length;++leftRow){
|
||||
for(int rightCol = 0;rightCol < rightSide.getNumCols();++rightCol){
|
||||
//Get a sum of the product of each column in the current row (left) and each row in the current column (right)
|
||||
int elementProductSum = 0;
|
||||
long elementProductSum = 0;
|
||||
for(int incrementCounter = 0;incrementCounter < grid.length;++incrementCounter){
|
||||
elementProductSum += grid[leftRow][incrementCounter] * rightSide.grid[incrementCounter][rightCol];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user