fixed multiple warnings on Windows. fixed bug #1368
This commit is contained in:
		| @@ -177,7 +177,7 @@ bool ImageLogPolProjection::_initLogRetinaSampling(const double reductionFactor, | ||||
| #endif | ||||
|  | ||||
| 	// setup progressive prefilter that will be applied BEFORE log sampling | ||||
| 	setProgressiveFilterConstants_CentredAccuracy(0.0, 0.0, 0.99); | ||||
| 	setProgressiveFilterConstants_CentredAccuracy(0.f, 0.f, 0.99f); | ||||
|  | ||||
| 	// (re)create the image output buffer and transform table if the reduction factor changed | ||||
| 	_sampledFrame.resize(_outputNBpixels*(1+(unsigned int)_colorModeCapable*2)); | ||||
| @@ -338,7 +338,7 @@ bool ImageLogPolProjection::_initLogPolarCortexSampling(const double reductionFa | ||||
| #endif | ||||
|  | ||||
| 	// setup progressive prefilter that will be applied BEFORE log sampling | ||||
| 	setProgressiveFilterConstants_CentredAccuracy(0.0, 0.0, 0.99); | ||||
| 	setProgressiveFilterConstants_CentredAccuracy(0.f, 0.f, 0.99f); | ||||
|  | ||||
| 	// (re)create the image output buffer and transform table if the reduction factor changed | ||||
| 	_sampledFrame.resize(_outputNBpixels*(1+(unsigned int)_colorModeCapable*2)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Vadim Pisarevsky
					Vadim Pisarevsky