Skip to content

Commit ac3d396

Browse files
committed
ups
1 parent 4db4e03 commit ac3d396

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/functions/rcsTools.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,14 +388,12 @@ function rcsAllocationSimplex(u, My, c=ones(size(My, 2)); maxIter=30)
388388
# Transform the linear combination coefficients and evaluators.
389389
# This corresponds to Eq. (11) of [1].
390390
# eNew .= -E[jOut, :]/e[jOut]
391-
# eNew .= E[jOut, :]
392-
# eNew .*= -1/e[jOut]
393391
# ∇z .+= ∇zMin*eNew
392+
# E .+= e*eNew'
394393
@inbounds for j in eachindex(eNew)
395394
eNew[j] = -E[jOut, j]/e[jOut]
396395
∇z[j] += ∇zMin*eNew[j]
397396
end
398-
# E .+= e*eNew'
399397
@inbounds for i in eachindex(e)
400398
ei = e[i]
401399
for j in eachindex(eNew)

0 commit comments

Comments
 (0)