Skip to content

Commit

Permalink
fix redundant noData logic
Browse files Browse the repository at this point in the history
  • Loading branch information
root676 authored and nyalldawson committed Jul 2, 2020
1 parent f72c367 commit bf3f75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmcellstatistics.cpp
Expand Up @@ -270,7 +270,7 @@ QVariantMap QgsCellStatisticsAlgorithm::processAlgorithm( const QVariantMap &par
outputBlock->setValue( row, col, mNoDataValue );
}
}
else if ( !noDataInStack || ( noDataInStack && mIgnoreNoData ) )
else if ( !noDataInStack || mIgnoreNoData )
{
switch ( method )
{
Expand Down

0 comments on commit bf3f75e

Please sign in to comment.