Boost logo

Geometry :

Subject: Re: [geometry] error C4244: 'initializing' : conversion from '__int64' to 'const double', possible loss of data ...\boost_1_55_0\boost\geometry\strategies\cartesian\distance_projected_point.hpp(146)
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2013-11-16 04:50:03


Hi,

calculation_type const c1 = calculation_type(dot_product(v,v));
>

We're not giving the choice to the user to use another calculation type so
yes, that's probably the only way... although I don't like the library to
hide a risk which is indeed real.

Regards
Bruno



Geometry list run by mateusz at loskot.net