Skip to content

Commit a628c05

Browse files
authored
Update Domain.jl
fixed two typos
1 parent 467c909 commit a628c05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Domain.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function ConstantTVGasDomain(;phase::E2,initialconds::Dict{X,X2},constantspecies
185185
jacobian=zeros(typeof(T),length(phase.species),length(phase.species))
186186
end
187187
rxnarray = getreactionindices(phase)
188-
return ConstantTPDomain(phase,[1,length(phase.species),length(phase.species)+1],[1,length(phase.species)+length(phase.reactions)],constspcinds,
188+
return ConstantTVGasDomain(phase,[1,length(phase.species),length(phase.species)+1],[1,length(phase.species)+length(phase.reactions)],constspcinds,
189189
T,V,kfs,krevs,efficiencyinds,Gs,rxnarray,mu,diffs,jacobian,sensitivity,false,MVector(false),MVector(0.0),p, Dict("P"=>length(phase.species)+1)), y0, p
190190
end
191191
export ConstantTVGasDomain
@@ -1180,7 +1180,7 @@ end
11801180
for ind in d.efficiencyinds #efficiency related rates may have changed
11811181
d.kfs[ind],d.krevs[ind] = getkfkrev(d.phase.reactions[ind],d.phase,d.T,P,C,N,ns,d.Gs,d.diffusivity,d.V,0.0;f=kfps[ind])
11821182
end
1183-
return ns,cs,d.T,d.P,V,C,N,d.mu,d.kfs,d.krevs,Array{Float64,1}(),Array{Float64,1}(),Array{Float64,1}(),Array{Float64,1}(),0.0,Array{Float64,1}(),0.0
1183+
return ns,cs,d.T,P,d.V,C,N,d.mu,d.kfs,d.krevs,Array{Float64,1}(),Array{Float64,1}(),Array{Float64,1}(),Array{Float64,1}(),0.0,Array{Float64,1}(),0.0
11841184
elseif nothermochg
11851185
d.kfs = kfps
11861186
for ind in d.efficiencyinds #efficiency related rates may have changed
@@ -3832,4 +3832,4 @@ end
38323832
else
38333833
return eval(d)(phase=IdealDiluteSolution(sensspcs, sensrxns, domain.phase.solvent, name="phase"), initialconds=initialconds)[1], sensspcnames, senstooriginspcind, senstooriginrxnind
38343834
end
3835-
end
3835+
end

0 commit comments

Comments
 (0)