mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Use C++23 std::expected (#8823)
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
#include "wpi/math/linalg/DARE.hpp"
|
||||
|
||||
template wpi::util::expected<Eigen::Matrix<double, 2, 2>, wpi::math::DAREError>
|
||||
template std::expected<Eigen::Matrix<double, 2, 2>, wpi::math::DAREError>
|
||||
wpi::math::DARE<2, 1>(const Eigen::Matrix<double, 2, 2>& A,
|
||||
const Eigen::Matrix<double, 2, 1>& B,
|
||||
const Eigen::Matrix<double, 2, 2>& Q,
|
||||
const Eigen::Matrix<double, 1, 1>& R,
|
||||
bool checkPreconditions);
|
||||
template wpi::util::expected<Eigen::Matrix<double, 2, 2>, wpi::math::DAREError>
|
||||
template std::expected<Eigen::Matrix<double, 2, 2>, wpi::math::DAREError>
|
||||
wpi::math::DARE<2, 1>(const Eigen::Matrix<double, 2, 2>& A,
|
||||
const Eigen::Matrix<double, 2, 1>& B,
|
||||
const Eigen::Matrix<double, 2, 2>& Q,
|
||||
|
||||
Reference in New Issue
Block a user