Skip to content

Commit 740babb

Browse files
author
dodo
committed
Merge branch 'master' of github.com:pythonfoo/pythonfooLite
2 parents 8980236 + ccf8f2f commit 740babb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Level_06/Ueberladung.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def __mul__(self, faktor):
161161
x = self.x * faktor
162162
y = self.y * faktor
163163
z = self.z * faktor
164-
return Vektor(self.p1, self.p1 + Punkt(x, y, z))
164+
return Vektor(x, y, z)
165165
if isinstance(faktor, Vektor):
166166
# Multiplikation mit einem Vektor ergibt einen Skalar.
167167
x = self.x * faktor.x

0 commit comments

Comments
 (0)