diff --git a/cp/ex09/vector.py b/cp/ex09/vector.py index 9d02e6a970cb8fc353802132038c0b8b10a10086..a891d7f47ae2dd13a02ee11d6a99ce06f2f3fef4 100644 --- a/cp/ex09/vector.py +++ b/cp/ex09/vector.py @@ -61,7 +61,8 @@ def add(v1 : Vector, v2 : Vector) -> Vector: :param v2: The second vector. :return: Their sum :math:`\mathbf{v}_1+\mathbf{v}_2` """ - vector_sum = make_vector(v1.x + v2.x, v1.y+v2.y) + # TODO: 1 lines missing. + raise NotImplementedError("Use make_vector to make create the new vector.") return vector_sum def sub(v1 : Vector, v2 : Vector) -> Vector: