Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33562: Bad error message for weighted adjacency matrix
{{{ H=Graph({0:[1,2,3], 4:[0,2], 6:[1,2,3,4,5]}) H.weighted(True) H.weighted_adjacency_matrix() }}} should give something useful, but instead is an inexplicable error message {{{ TypeError: NoneType takes no arguments }}} This happens whether or not this graph is said to be weighted. There should be an error catch for a useful message. URL: https://trac.sagemath.org/33562 Reported by: kcrisman Ticket author(s): David Coudert Reviewer(s): Dima Pasechnik
- Loading branch information