Adapted to the new signature of template_base::check()
Updated pyviennacl-dev branch