Skip to content
Snippets Groups Projects
Commit e3999580 authored by Raphael's avatar Raphael
Browse files

fixed typo

parent 3b684dc1
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ namespace armarx
class KinematicDataUnit
{
template<class T>
static std::unordered_map<T, std::size_t> toInexMap(const std::vector<T>& vec)
static std::unordered_map<T, std::size_t> toIndexMap(const std::vector<T>& vec)
{
std::unordered_map<T, std::size_t> result;
result.reserve(vec.size());
......@@ -59,7 +59,7 @@ namespace armarx
jointMotorTemperatures(jointNames.size(), ControllerConstatns::ValueNotSetNaN),
jointGearTempertures(jointNames.size(), ControllerConstatns::ValueNotSetNaN),
jointNames {jointNames},
jointIndices {toInexMap(jointNames)}
jointIndices {toIndexMap(jointNames)}
{}
KinematicDataUnit() = default;
KinematicDataUnit(const KinematicDataUnit&) = default;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment