mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
24 lines
455 B
C++
24 lines
455 B
C++
// dummy code to instantiate all templates for coverage
|
|
|
|
#include <Matrix.hpp>
|
|
#include <Vector.hpp>
|
|
#include <Vector3.hpp>
|
|
#include <Euler.hpp>
|
|
#include <Scalar.hpp>
|
|
#include <Quaternion.hpp>
|
|
|
|
using namespace matrix;
|
|
|
|
template class Vector<float, 2>;
|
|
template class Euler<float>;
|
|
template class Scalar<float>;
|
|
template class Matrix<float, 3, 3>;
|
|
|
|
int main() {
|
|
Vector<float, 2> v;
|
|
Euler<float> e;
|
|
Scalar<float> s;
|
|
Matrix<float, 3, 3> m;
|
|
return 0;
|
|
};
|