slac207 / cs207project

MIT License
0 stars 4 forks source link

Need to change __abs__ #42

Closed cocochrane closed 7 years ago

cocochrane commented 7 years ago

From Piazza, abs should be returning the 2-norm, not the absolute value of each individual value.

cocochrane commented 7 years ago

Then, as per the Vector class example we can change bool to: return bool(abs(self))

brennan-ae commented 7 years ago

Plus change the tests.