Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a173bc

Browse files
committed
remove normalization code from marcos
1 parent 1b772a0 commit 2a173bc

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/marcos.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,14 @@ function marcos(
8787
normalization::G = Normalizations.marcosnormalization
8888
)::MarcosResult where {F<:Function, G<:Function}
8989

90-
row, col = size(decisionMat)
90+
row, _ = size(decisionMat)
9191

9292
w = unitize(weights)
9393

9494
zerotype = eltype(decisionMat[1, :])
95-
AAI = zeros(zerotype, col)
96-
AI = zeros(zerotype, col)
97-
98-
temp = [decisionMat; AI'; AAI']
9995

10096
normalizedDecisionMat = normalization(decisionMat, fns)
10197

102-
10398
S = zeros(zerotype, row + 2)
10499

105100
for i = 1:row+2

0 commit comments

Comments
 (0)