Skip to content
Permalink
Browse files

Merge f819288 into cherry-pick-backport-9574-on-release-3_6-8a8e67df-…

…b731-41d8-ab8a-e418bcc2e329
  • Loading branch information
backporting committed Mar 21, 2019
2 parents d190ec0 + f819288 commit 66aea0d6c1bdb4e6f1f95b97e598a25f35d95069
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/mesh/qgsmeshlayerinterpolator.cpp
@@ -69,7 +69,7 @@ int QgsMeshLayerInterpolator::bandCount() const
QgsRasterBlock *QgsMeshLayerInterpolator::block( int, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback )
{
std::unique_ptr<QgsRasterBlock> outputBlock( new QgsRasterBlock( Qgis::Float64, width, height ) );
const double noDataValue = std::numeric_limits<double>::min();
const double noDataValue = std::numeric_limits<double>::quiet_NaN();
outputBlock->setNoDataValue( noDataValue );
outputBlock->setIsNoData(); // assume initially that all values are unset
double *data = reinterpret_cast<double *>( outputBlock->bits() );
@@ -146,7 +146,7 @@ QgsRasterBlock *QgsMeshLayerInterpolator::block( int, const QgsRectangle &extent

}

return outputBlock.release();;
return outputBlock.release();
}

///@endcond

0 comments on commit 66aea0d

Please sign in to comment.
You can’t perform that action at this time.