Skip to content

Commit

Permalink
skip merging when there are no utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange-42 committed Jun 28, 2024
1 parent 3e402d9 commit 7aea30e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ve/ve.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ func (ve *VE) sumUtilities() {
}
}

if len(utils) == 0 {
return
}

indices := []int{}
factors := []*Factor{}

Expand Down

0 comments on commit 7aea30e

Please sign in to comment.