[Tutor] calculation with arrays: shape mismatch

Alan Gauld alan.gauld at btinternet.com
Mon Oct 29 16:50:43 CET 2007

"John" <washakie at gmail.com> wrote

> But I get the error:
> ValueError: shape mismatch: objects cannot be broadcast to a single 
> shape
> for the highlighted line.

When sending error messages send the entire error traceback
not just the summary message. Error traces are full of useful
information, it helps if we can see it all.

For example which is the "highlighted line"?

Alan G.

More information about the Tutor mailing list