How to fix these notebook problems?

I know it’s Udacity and I am trying to get their attention as well.

I added a return statement and it still faults.
The other one’s controls seem to be missing.

If i understood your question, it appears to me, at least that your vector code seems fine and it should compile with no issues. However, the error code that the compiler throws suggest that you’re attempting to create a function inside the main function, which is considered an illegal move.

You could compile it yourself to eliminate the notebook from the equation

Thanks all. Trying to get Udacity to help.

1 Like