Skip to content

Commit

Permalink
fix error in unnamed lcia results for households
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Feb 26, 2024
1 parent 2b75069 commit 9d8f094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/CalculationFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ calculateResultsWithExternalFactors <- function(model, perspective = "FINAL", de
hh = t(as.matrix(model$B_h[, codes])) * colSums(as.matrix(model$U[, codes]))
hh_lcia = t(model$C %*% as.matrix(model$B_h[, codes])) * colSums(as.matrix(model$U[, codes]))
rownames(hh) <- codes
rownames(hh_lcia) <- codes

# Calculate Final perspective results
if(perspective == "FINAL"){
Expand Down

0 comments on commit 9d8f094

Please sign in to comment.