Quantcast

no automatic conversion from uint to double

classic Classic list List threaded Threaded
1 message Options
Erhy Erhy
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

no automatic conversion from uint to double

Hello,
I'm wondering that there is no automatic conversion from uint to double.

While coding for image editing I used the array values gotted with imread()
and added a double value and got a wrong result.

If convert the UINT with the double() function the result is correct.


Loading...