Skip to content

Commit

Permalink
Rename super to superposition
Browse files Browse the repository at this point in the history
  • Loading branch information
mph- committed Jan 3, 2025
1 parent e52c18c commit 20abd3f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lcapy/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ def __compat_add__(self, x, op):
def __mul__(self, x):
"""Multiply."""

from .super import Superposition
from .superposition import Superposition

if isinstance(x, Superposition):
return x.__mul__(self)
Expand Down Expand Up @@ -1539,7 +1539,7 @@ def __radd__(self, x):
def __sub__(self, x):
"""Subtract."""

from .super import Superposition
from .superposition import Superposition

if isinstance(x, Superposition):
return -x + self
Expand Down
2 changes: 1 addition & 1 deletion lcapy/exprdomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def as_constant(self):
def as_superposition(self):
from .superpositionvoltage import SuperpositionVoltage
from .superpositioncurrent import SuperpositionCurrent
from .super import Superposition
from .superposition import Superposition

if self.is_voltage:
return SuperpositionVoltage(self)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lcapy/superpositioncurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"""

from .super import Superposition
from .superposition import Superposition
from .symbols import j, omega
from .impedance import impedance
from .currentmixin import CurrentMixin
Expand Down
2 changes: 1 addition & 1 deletion lcapy/superpositionvoltage.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"""

from .super import Superposition
from .superposition import Superposition
from .symbols import j, omega
from .admittance import admittance
from .voltagemixin import VoltageMixin
Expand Down
2 changes: 1 addition & 1 deletion lcapy/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def select(expr, kind):
from .nexpr import DiscreteTimeDomainExpression # nopep8
from .kexpr import DiscreteFourierDomainExpression # nopep8
from .zexpr import ZDomainExpression # nopep8
from .super import Superposition # nopep8
from .superposition import Superposition # nopep8
from .current import current # nopep8
from .voltage import voltage # nopep8
from .admittance import admittance # nopep8
Expand Down

0 comments on commit 20abd3f

Please sign in to comment.