Skip to content

Commit

Permalink
Melhorar performance
Browse files Browse the repository at this point in the history
  • Loading branch information
dude333 committed Sep 18, 2023
1 parent 5be797b commit 558d779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapina.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func UnificarContasSimilares(itr []InformeTrimestral) []InformeTrimestral {
}
cod1 := codPai(itr[linha1].Codigo)
cod2 := codPai(itr[linha2].Codigo)
if Similar(cod1+itr[linha1].Descr, cod2+itr[linha2].Descr) {
if cod1 == cod2 && Similar(itr[linha1].Descr, itr[linha2].Descr) {
unida[linha2] = true
for _, ano := range anos {
v1, existe1 := valorAno(ano, valoresUnificados)
Expand Down

0 comments on commit 558d779

Please sign in to comment.