mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 21:30:35 +08:00
Forced function instantiation for coverage testing.
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
|
||||
using namespace matrix;
|
||||
|
||||
// instantiate template to ensure coverage check
|
||||
template int integrate_rk4<float, 6>(
|
||||
Vector<float, 6> (*f)(float, Vector<float, 6>),
|
||||
Vector<float, 6> & y,
|
||||
float & t,
|
||||
float h
|
||||
);
|
||||
|
||||
Vector<float, 6> f(float t, Vector<float, 6> y);
|
||||
|
||||
Vector<float, 6> f(float t, Vector<float, 6> y) {
|
||||
|
||||
Reference in New Issue
Block a user