tweak travis configuration

This commit is contained in:
Devin Neal
2019-04-30 21:52:34 -07:00
parent 391a1b579d
commit 8d621e7cca
4 changed files with 10 additions and 15 deletions

View File

@ -370,9 +370,9 @@ class LindenmayerCurve(FractalCurve):
curr = np.zeros(3)
result = [curr]
for letter in self.get_command_string():
if letter is "+":
if letter == "+":
step = rotate(step, self.angle)
elif letter is "-":
elif letter == "-":
step = rotate(step, -self.angle)
else:
curr = curr + step