summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/LinearMath/btMatrixX.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-27 16:44:17 +0200
committerGitHub <noreply@github.com>2020-04-27 16:44:17 +0200
commitf7e2ff5223aa90fb95e02c4a96cc9261c91f3376 (patch)
treed30bc9dd4e6a4e3aa13b38f2574772f7da737ca4 /thirdparty/bullet/LinearMath/btMatrixX.h
parent3fff0dda393e2496744a57d0e3897827c0bdc504 (diff)
parent3e7db60d56d5c25d7aa3fded4b90f36ca341159c (diff)
Merge pull request #38253 from nekomatata/bullet-update-2.90
Update to bullet master (2.90)
Diffstat (limited to 'thirdparty/bullet/LinearMath/btMatrixX.h')
-rw-r--r--thirdparty/bullet/LinearMath/btMatrixX.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/thirdparty/bullet/LinearMath/btMatrixX.h b/thirdparty/bullet/LinearMath/btMatrixX.h
index 961c94dc63..bb0f0dd259 100644
--- a/thirdparty/bullet/LinearMath/btMatrixX.h
+++ b/thirdparty/bullet/LinearMath/btMatrixX.h
@@ -346,10 +346,9 @@ struct btMatrixX
T dotProd = 0;
{
{
- int r = rows();
int c = cols();
- for (int k = 0; k < cols(); k++)
+ for (int k = 0; k < c; k++)
{
T w = (*this)(i, k);
if (other(k, j) != 0.f)