Skip to content

Commit

Permalink
#19 - fix static identity value for average calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
endixk committed Jan 23, 2024
1 parent bb0c7bf commit 2488293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leb/process/ProcCalcPairwiseAAI.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private List<String> 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];
Expand Down

0 comments on commit 2488293

Please sign in to comment.