Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Jan 27, 2025
1 parent a4e2d46 commit 1ddfd49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CADETProcess/processModel/reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ def __init__(
self.component_system = component_system
super().__init__()

self.stoich = np.zeros((self.n_comp,))
for i, c in zip(indices, coefficients):
self.stoich[i] = c

self.is_kinetic = is_kinetic
if not is_kinetic:
k_fwd, k_bwd = scale_to_rapid_equilibrium(k_fwd, k_fwd_min)
Expand Down

0 comments on commit 1ddfd49

Please sign in to comment.