Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Dec 1, 2020
1 parent 619d1e2 commit d7bfabd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions gpkit/keydict.py
Expand Up @@ -4,7 +4,6 @@
import numpy as np
from .small_classes import Numbers, Quantity, FixedScalar
from .small_scripts import is_sweepvar, isnan
from .varkey import GLOBAL_KEYMAP

DIMLESS_QUANTITY = Quantity(1, "dimensionless")
INT_DTYPE = np.dtype(int)
Expand Down Expand Up @@ -47,7 +46,6 @@ class KeyMap:
keymap = []
log_gets = False
cset = None
vks = varkeys = None

def __init__(self, *args, **kwargs):
"Passes through to super().__init__ via the `update()` method"
Expand Down
2 changes: 0 additions & 2 deletions gpkit/varkey.py
Expand Up @@ -3,8 +3,6 @@
from .small_classes import Count, qty
from .repr_conventions import ReprMixin

GLOBAL_KEYMAP = defaultdict(set)


class VarKey(ReprMixin): # pylint:disable=too-many-instance-attributes
"""An object to correspond to each 'variable name'.
Expand Down

0 comments on commit d7bfabd

Please sign in to comment.