Skip to content

Commit

Permalink
Fix compilation error in drawRefAxis function (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Feb 21, 2022
1 parent 49fd9f2 commit 1362bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/vIPT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ cv::Mat drawRefAxis(std::array<double, 4> q){
z = qz / s;
}

std::array<float, 3> r = {a*x, a*y, a*z};
std::array<float, 3> r = {static_cast<float>(a*x), static_cast<float>(a*y), static_cast<float>(a*z)};
return drawRefAxis(r);;
}

Expand Down

0 comments on commit 1362bcb

Please sign in to comment.