Skip to content

Commit

Permalink
fix __cinit__
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed May 31, 2024
1 parent 973f630 commit 4eccf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion equilibrate/cython/_equilibrate.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cdef class ChemEquiAnalysis:
cdef cea_pxd.ChemEquiAnalysis *_ptr
cdef cbool _init_called

def __cinit__(self, thermofile = None, atoms = None, species = None):
def __cinit__(self, *args, **kwargs):
self._init_called = False
self._ptr = cea_pxd.allocate_chemequianalysis()

Expand Down

0 comments on commit 4eccf37

Please sign in to comment.