Skip to content

Commit 9c90f99

Browse files
committed
Await the create class method instead of init
1 parent b56661d commit 9c90f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atip/load_sim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def load(
6666
f"(AT:{len(at_lattice)} Pytac:{len(pytac_lattice)})."
6767
)
6868
# Initialise an instance of the ATSimulator Object.
69-
atsim = await ATSimulator(
69+
atsim = await ATSimulator.create(
7070
at_lattice,
7171
linopt_function,
7272
disable_emittance,

0 commit comments

Comments
 (0)