mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpimath] Replace constexpr coeff() and coeffRef() with operator() (#7391)
This commit is contained in:
@@ -55,7 +55,7 @@ class LinearSystem {
|
||||
if (std::is_constant_evaluated()) {
|
||||
for (int row = 0; row < mat.rows(); ++row) {
|
||||
for (int col = 0; col < mat.cols(); ++col) {
|
||||
if (!gcem::internal::is_finite(mat.coeff(row, col))) {
|
||||
if (!gcem::internal::is_finite(mat(row, col))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user