git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1208 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2009-02-19 03:12:29 +00:00
parent 2ef79b643d
commit 3de46f66df

View File

@ -128,7 +128,7 @@ protected:
TypeIdPair pair(typeid(lhs), typeid(rhs));
if (_distanceMetricMap.count(pair)) {
metric = _distanceMetricMap[pair];
} else if (_distanceMetricMap.count(pair = TypeIdPair(typeid(lhs), typeid(rhs)))) {
} else if (_distanceMetricMap.count(pair = TypeIdPair(typeid(rhs), typeid(lhs)))) {
metric = _distanceMetricMap[pair];
} else {
metric = 0;