Skip to content

Commit 1d0ba96

Browse files
authored
Merge pull request #140 from bauen1/fix_typo
Fixed a simple typo in cyvector.py
2 parents e3ee2b5 + da667bc commit 1d0ba96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpython/cyvector.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ cdef class vector(object):
122122
normA = self.hat
123123
self.x = value * normA._x
124124
self.y = value * normA._y
125-
self.z = value * normA.vz
125+
self.z = value * normA._z
126126
self.on_change()
127127

128128
property mag2:

0 commit comments

Comments
 (0)