matlab.h error, return vector from Values::keys
Issue #244
resolved
Conversion constructor from KeyList to FastVector went away yesterday, so there's a compile error in matlab.h:
/Users/cbeall3/git/gtsam/matlab.h:232:12: error: no matching conversion for functional-style cast from 'KeyList' (aka 'FastList<Key>') to
'FastVector<Key>'
keys = FastVector<Key>(local.keys());
The type of local is Values. We probably just want to return a vector from Values::keys()? (And get rid of lists and sets in most other places, because they're so horribly slow?)
Comments (2)
-
-
reporter - changed status to resolved
Fixed in PR #163
- Log in to comment
Good catch. And yes :-)