Commit 15b35c98 by likorn

fixed another stupid error

parent f804e60f
Showing with 1 additions and 2 deletions
...@@ -74,8 +74,7 @@ if calculate_y(a + h) == 'complex number' or calculate_y(a + h) == 'infinite' or ...@@ -74,8 +74,7 @@ if calculate_y(a + h) == 'complex number' or calculate_y(a + h) == 'infinite' or
y.append(calculate_y(a + h)) y.append(calculate_y(a + h))
counter = 1 counter = 1
while counter < 14: while counter < 14:
if calculate_y(calculate_x(counter)) <= ym \ if calculate_y(calculate_x(counter)) == 'complex number' or calculate_y(calculate_x(counter)) == 'infinite':
or calculate_y(calculate_x(counter)) == 'complex number' or calculate_y(calculate_x(counter)) == 'infinite':
x.append(calculate_x(counter)) x.append(calculate_x(counter))
y.append(calculate_y(calculate_x(counter))) y.append(calculate_y(calculate_x(counter)))
counter += 1 counter += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment