# HG changeset patch # User Jeff Hammel # Date 1504151088 25200 # Node ID be09c8fc58b8334b9b868c1349584b6e309a8766 # Parent 382ab19fb052d553180603adf5ed68733e8580c0 length assertion on vectors diff -r 382ab19fb052 -r be09c8fc58b8 tvii/dot.py --- a/tvii/dot.py Wed Aug 30 17:32:06 2017 -0700 +++ b/tvii/dot.py Wed Aug 30 20:44:48 2017 -0700 @@ -4,5 +4,5 @@ def dot(w, x): """inner dot product""" - + assert len(w) == len(x) raise NotImplementedError('TODO')