matlab.h error, return vector from Values::keys

Issue #244 resolved
Chris Beall created an issue

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)

  1. Log in to comment