joschu / cgt

Computation Graph Toolkit
Other
629 stars 87 forks source link

Better error message for cgt.broadcast #28

Open dementrock opened 9 years ago

dementrock commented 9 years ago

Right now when the dimensions don't match, we see an AssertionError with no error messages. This should be made more informative as I can imagine it being a common error

joschu commented 9 years ago

Agreed, will fix.