[Lemon-user] Preflow template class - link error when capacity map is float

Arun Reddy Kandoor karunreddy30 at gmail.com
Sat Oct 23 01:16:10 CEST 2010


Hello,

I am trying to use Preflow class for a path decomposition problem. The
Preflow template class compiles successfully but fails to link if it is used
with float as below:
Preflow<ListDigraph,ListDigraph::ArcMap< *float* > >  - link failure
Preflow<ListDigraph,ListDigraph::ArcMap< *int* > >  - links successfully

and the link error is as below:
In function `lemon::Tolerance<float>::Tolerance()':
(.text._ZN5lemon9ToleranceIfEC1Ev[lemon::Tolerance<float>::Tolerance()]+0x5):
undefined reference to `lemon::Tolerance<float>::def_epsilon'

Anyone else faced with the same problem? Any solutions?

Thanks,
-- 
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20101022/02f97b87/attachment.html>


More information about the Lemon-user mailing list