Skip to content

Commit 5885823

Browse files
mjohnson541ssun30
authored andcommitted
fix getKc call in ReactiveInternalInterface
1 parent db6d862 commit 5885823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function getkfskrevs(ri::ReactiveInternalInterface,T1,T2,phi1,phi2,Gs1,Gs2,cstot
5353
Gpart = ArrayPartition(Gs1,Gs2)
5454
dGrxns = -ri.stoichmatrix*Gpart
5555
kfs = getkfs(ri,T1,0.0,0.0,Array{Q,1}(),ri.A,phi1,dGrxns,0.0)
56-
Kc = getKc.(ri.reactions,ri.domain1.phase,ri.domain2.phase,Ref(Gs1),Ref(Gs2),dGrxns,T1,phi1)
56+
Kc = getKcs(ri.domain1.phase,ri.domain2.phase,T1,ri.Nrp1,ri.Nrp2,dGrxns)
5757
krevs = kfs./Kc
5858
return kfs,krevs
5959
end

0 commit comments

Comments
 (0)