X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=normalizesharedcommand.cpp;fp=normalizesharedcommand.cpp;h=d9405a5129dd238ee2992a2986289ffffd6ed167;hb=e840ba0e90a2b2be39e0910e4be23dde6a14cbac;hp=c0e7c1f7f037cf1f0d87ab169408825a547c5982;hpb=9f4c08cab5a7a9a0e156bd4a5a3a478b476162dc;p=mothur.git diff --git a/normalizesharedcommand.cpp b/normalizesharedcommand.cpp index c0e7c1f..d9405a5 100644 --- a/normalizesharedcommand.cpp +++ b/normalizesharedcommand.cpp @@ -404,7 +404,7 @@ int NormalizeSharedCommand::normalize(vector& thisLookUp, o int abund = thisLookUp[i]->getAbundance(j); - float relabund = relabund = abund / (float) thisLookUp[i]->getNumSeqs(); + float relabund = abund / (float) thisLookUp[i]->getNumSeqs(); float newNorm = relabund * norm; //round to nearest int @@ -478,7 +478,7 @@ int NormalizeSharedCommand::normalize(vector& thisLook float abund = thisLookUp[i]->getAbundance(j); - float relabund = relabund = abund / (float) thisLookUp[i]->getNumSeqs(); + float relabund = abund / (float) thisLookUp[i]->getNumSeqs(); float newNorm = relabund * norm; thisLookUp[i]->set(j, newNorm, thisLookUp[i]->getGroup());