diff options
Diffstat (limited to 'szilagyi/nomogram.py')
-rw-r--r-- | szilagyi/nomogram.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/szilagyi/nomogram.py b/szilagyi/nomogram.py index 91d75c2..299d930 100644 --- a/szilagyi/nomogram.py +++ b/szilagyi/nomogram.py @@ -1,15 +1,7 @@ import math from collections import deque - -class Vector(complex): - def __getitem__(self, index): - if index == 0: - return self.real - elif index == 1: - return self.imag - else: - raise IndexError +from ._dataset import Vector def look_downwards(data, x, start): |