From 24882931cb2764f8ae73dd2117f5290a732cc01a Mon Sep 17 00:00:00 2001 From: DW Kim Date: Tue, 23 Jan 2024 11:52:41 +0900 Subject: [PATCH] #19 - fix static identity value for average calculation --- src/leb/process/ProcCalcPairwiseAAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leb/process/ProcCalcPairwiseAAI.java b/src/leb/process/ProcCalcPairwiseAAI.java index c3658a9..9abaa34 100644 --- a/src/leb/process/ProcCalcPairwiseAAI.java +++ b/src/leb/process/ProcCalcPairwiseAAI.java @@ -197,7 +197,7 @@ private List calcIdentityWithDetails( int nval = 0; double isum = .0; int lsum = 0; for(int i = 0; i < n1; i++){ for(int j = 0; j < n2; j++){ - if(viceMatrix[i][j] >= 40.0 && versaMatrix[i][j] >= 40.0){ + if(viceMatrix[i][j] >= identity && versaMatrix[i][j] >= identity){ nval++; isum += viceMatrix[i][j] + versaMatrix[i][j]; lsum += viceLength[i][j] + versaLength[i][j];