Skip to content

Commit 5f82791

Browse files
Remove dataclass slots for Python 3.9 compatibility
1 parent ecd438b commit 5f82791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pmd_beamphysics/wakefields/resistive_wall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def Gammaf(relaxation_time: float, radius: float, conductivity: float) -> float:
192192
return c_light * relaxation_time / s0f(radius, conductivity)
193193

194194

195-
@dataclass(slots=True)
195+
@dataclass
196196
class pseudomode:
197197
"""
198198
Single-mode analytic representation of a short-range wakefield.

0 commit comments

Comments
 (0)