I've added the function GenericVector::sum(const std::vector<uint>& rows)
which will sum the given row entries. But, frustratingly, it doesn't work through Python. I can't pass a list or numpy array to it. I get the error TypeError: in method 'GenericVector_sum', argument 2 of type 'std::vector< dolfin::uint > const &' How can I pass a list of integers to this function from Python? It seems that we haven't resolved passing std::vector from Python to C++ satisfactorily. Garth _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

