[Cgl-tickets] [COIN-OR Cut Generator Library] #35: realloc to int from double - causing seg-fault

COIN-OR Cut Generator Library coin-trac at coin-or.org
Tue Jun 22 06:57:04 EDT 2010


#35: realloc to int from double - causing seg-fault
------------------------+---------------------------------------------------
 Reporter:  mgalati     |       Owner:  forrest
     Type:  defect      |      Status:  new    
 Priority:  major       |   Milestone:         
Component:  CglOddHole  |     Version:         
 Keywords:              |  
------------------------+---------------------------------------------------
 L223 CglOddHole.cpp: cost=reinterpret_cast<double *>
 (realloc(cost,maxels*sizeof(int)));

 realloc to int from double - causing seg-fault

-- 
Ticket URL: <https://projects.coin-or.org/Cgl/ticket/35>
COIN-OR Cut Generator Library <http://projects.coin-or.org/Cgl>
A library of mixed-integer programming cutting plane generators.



More information about the Cgl-tickets mailing list