Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 7:1c6ba87fa6a3, committed 2020-10-01
- Comitter:
- saloutos
- Date:
- Thu Oct 01 04:08:00 2020 +0000
- Parent:
- 6:aa5e94cddb3f
- Commit message:
- Same changes as for Matrix library
Changed in this revision
| MatrixMath.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r aa5e94cddb3f -r 1c6ba87fa6a3 MatrixMath.cpp
--- a/MatrixMath.cpp Thu Sep 17 17:51:22 2020 +0700
+++ b/MatrixMath.cpp Thu Oct 01 04:08:00 2020 +0000
@@ -99,6 +99,7 @@
else
{
printf("\n\nERROR:\nMust be square Matrix @ MatrixMath::Determinant\n");
+ return Mat;
}
}
@@ -139,6 +140,7 @@
else
{
printf("\n\nERROR:\n Matrices have diferent depths @ MatrixMath::dot()\n");
+ return 0.0f;
}
}
else
@@ -157,6 +159,7 @@
else
{
printf("\n\nERROR:\n Matrices have diferent depths @ MatrixMath::dot()\n");
+ return 0.0f;
}
}
}
@@ -178,6 +181,7 @@
else
{
printf("\n\nERROR:\n Matrices have diferent depths @ MatrixMath::dot()\n");
+ return 0.0f;
}
}
else
@@ -196,6 +200,7 @@
else
{
printf("\n\nERROR:\n Matrices have diferent depths @ MatrixMath::dot()\n");
+ return 0.0f;
}
}
}
@@ -203,6 +208,7 @@
else
{
printf("\n\nERROR:\n Matrix is not a Vector @ MatrixMath::dot()\n");
+ return 0.0f;
}
}
@@ -256,6 +262,7 @@
else
{
printf("\n\nERROR:\nMatrix must be square Matrix @ MatrixMath::det");
+ return 0.0f;
}
}