Skip to content

Commit

Permalink
remove pythonic syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 10, 2019
1 parent 0391c85 commit ba3c443
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/classification/qgsclassificationlogarithmic.cpp
Expand Up @@ -94,11 +94,11 @@ QList<double> QgsClassificationLogarithmic::calculateBreaks( double &minimum, do
}

// get the min/max in log10 scale
double log_min = std::floor( std::log10( positiveMinimum ) );
double log_max = std::ceil( std::log10( maximum ) );
double logMin = std::floor( std::log10( positiveMinimum ) );
double logMax = std::ceil( std::log10( maximum ) );

// calculate pretty breaks
breaks.append( QgsSymbolLayerUtils::prettyBreaks( log_min, log_max, nclasses ) );
breaks.append( QgsSymbolLayerUtils::prettyBreaks( logMin, logMax, nclasses ) );

// create the value
for ( int i = 0; i < breaks.count(); i++ )
Expand Down

0 comments on commit ba3c443

Please sign in to comment.