• Jason Rhinelander's avatar
    Fix Eigen argument doc strings · e9e17746
    Jason Rhinelander authored
    Many of the Eigen type casters' name() methods weren't wrapping the type
    description in a `type_descr` object, which thus wasn't adding the
    "{...}" annotation used to identify an argument which broke the help
    output by skipping eigen arguments.
    
    The test code I had added even had some (unnoticed) broken output (with
    the "arg0: " showing up in the return value).
    
    This commit also adds test code to ensure that named eigen arguments
    actually work properly, despite the invalid help output.  (The added
    tests pass without the rest of this commit).
    e9e17746
test_eigen.cpp 15.3 KB