AP_AccelCal: fixed inverse matrix call for new name

This commit is contained in:
Andrew Tridgell 2021-01-18 11:40:04 +11:00 committed by Peter Barker
parent 999268cbba
commit 2e2ccb40b2
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ void AccelCalibrator::run_fit(uint8_t max_iterations, float& fitness)
}
}
if (!inverse(JTJ, JTJ, get_num_params())) {
if (!mat_inverse(JTJ, JTJ, get_num_params())) {
return;
}