lesson_3 #3

Open
alexander wants to merge 5 commits from lesson_3 into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit cbcf15e5ca - Show all commits

View File

@ -98,7 +98,7 @@ double Matrix::calculateDeterminant(Matrix &arr)
}
else if (arr.size() == 2)
{
determinant = arr[0][0] * arr[1][1] + arr[1][0] * arr[0][1];
determinant = arr[0][0] * arr[1][1] - arr[1][0] * arr[0][1];
}
else
{