Function which causes the compilation error: L0_cut_pursuit.cpp
boost version: 1.66
When I try to compile the mex file, it gives me the following error:
d:\code\cut-pursuit\include\CutPursuit.h(199): error C2440: 'initializing': cannot convert from
'boost::adj_list_edge_property_map<boost::directed_tag,CP::EdgeAttribute,CP::EdgeAttribute &,unsigned
__int64,Property,Tag>' to 'boost::adj_list_edge_property_map<boost::directed_tag,CP::EdgeAttribute,CP::EdgeAttribute
&,unsigned long,CP::EdgeAttribute,boost::edge_bundle_t>'
with
[
T=float,
Property=CP::EdgeAttribute,
Tag=boost::edge_bundle_t
]
and
[
T=float
]
d:\code\cut-pursuit\include\CutPursuit.h(199): note: No constructor could take the source type, or constructor overload resolution was ambiguous
Hi,
When I try to compile the mex file, it gives me the following error:
d:\code\cut-pursuit\include\CutPursuit.h(199): error C2440: 'initializing': cannot convert from 'boost::adj_list_edge_property_map<boost::directed_tag,CP::EdgeAttribute,CP::EdgeAttribute &,unsigned
__int64,Property,Tag>' to 'boost::adj_list_edge_property_map<boost::directed_tag,CP::EdgeAttribute,CP::EdgeAttribute
&,unsigned long,CP::EdgeAttribute,boost::edge_bundle_t>'
with
[
T=float,
Property=CP::EdgeAttribute,
Tag=boost::edge_bundle_t
]
and
[
T=float
]
d:\code\cut-pursuit\include\CutPursuit.h(199): note: No constructor could take the source type, or constructor overload resolution was ambiguous