Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-raden committed May 3, 2024
1 parent c76616a commit c9c15e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IntaRNA/PredictorMfeEns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ updateZ( const size_t i1, const size_t j1
if (Z_equal(partZ,0) || Z_isINF(Zall))
return;
// handle whether or not partZ includes ED values or not
Z_type partZ_widthED = 0, partZ_noED = 0;
Z_type partZ_withED = 0, partZ_noED = 0;
if (isHybridZ) {
#if INTARNA_IN_DEBUG_MODE
if ( (std::numeric_limits<Z_type>::max() - (partZ*energy.getBoltzmannWeight(energy.getE(i1,j1,i2,j2, E_type(0))))) <= Zall) {
Expand All @@ -56,7 +56,7 @@ updateZ( const size_t i1, const size_t j1
#endif
// add ED penalties etc.
partZ_noED = partZ;
partZ_widthED = partZ*energy.getBoltzmannWeight(energy.getE(i1,j1,i2,j2, E_type(0)));
partZ_withED = partZ*energy.getBoltzmannWeight(energy.getE(i1,j1,i2,j2, E_type(0)));
} else {
#if INTARNA_IN_DEBUG_MODE
if ( (std::numeric_limits<Z_type>::max() - partZ) <= Zall) {
Expand All @@ -65,7 +65,7 @@ updateZ( const size_t i1, const size_t j1
#endif
// remove ED
partZ_noED = partZ / energy.getBoltzmannWeight(energy.getE(i1,j1,i2,j2, E_type(0)));;
partZ_widthED = partZ;
partZ_withED = partZ;
}

// increase overall partition function
Expand Down

0 comments on commit c9c15e1

Please sign in to comment.