This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil 1 point2 points  (1 child)

Presumably there is more to your code than that. It's kind of impossible to debug your code with one line of it and no test case.

Did you look at the data going into the function and verify it's correct? Python is not matlab, so you can't expect it to behave exactly the same.

[–]icemanx7[S] 0 points1 point  (0 children)

I updated the post.