Skip to content

Commit

Permalink
Small change in comment for future code
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Mar 6, 2017
1 parent be27553 commit 868cfd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CollapsedEMOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ bool CollapsedEMOptimizer::optimize(ExpT& readExp, SalmonOpts& sopt,
double maxRelDiff = -std::numeric_limits<double>::max();
bool needBias = doBiasCorrect;
size_t targetIt{10};
/* -- v0.8.1
/* -- v0.8.x
double alphaSum = 0.0;
*/

Expand Down Expand Up @@ -956,7 +956,7 @@ bool CollapsedEMOptimizer::optimize(ExpT& readExp, SalmonOpts& sopt,
alphasPrime[i] = 0.0;
}

/* -- v0.8.1
/* -- v0.8.x
if (converged and itNum > minIter and !needBias) {
if (useVBEM and !perTranscriptPrior) {
std::vector<double> cutoffs(transcripts.size(), 0.0);
Expand Down Expand Up @@ -988,7 +988,7 @@ bool CollapsedEMOptimizer::optimize(ExpT& readExp, SalmonOpts& sopt,
++itNum;
}

/* -- v0.8.1
/* -- v0.8.x
if (alphaSum < minWeight) {
jointLog->error("Total alpha weight was too small! "
"Make sure you ran salmon correclty.");
Expand Down

0 comments on commit 868cfd9

Please sign in to comment.