[Coin-discuss] 32-bit assert in CGL

John J Forrest jjforre at us.ibm.com
Mon Aug 7 12:05:41 EDT 2006


David,

As far as I can see that assert can come out.  The code should work as long
as size_t is 32 bits or 64 bits.

John Forrest


                                                                           
             <librik at panix.com                                             
             >                                                             
             Sent by:                                                   To 
             coin-discuss-boun         coin-discuss at list.coin-or.org       
             ces at list.coin-or.                                          cc 
             org                                                           
                                                                   Subject 
                                       [Coin-discuss] 32-bit assert in CGL 
             08/04/06 10:42 AM                                             
                                                                           
                                                                           
             Please respond to                                             
             Discussions about                                             
                open source                                                
               software for                                                
                Operations                                                 
                 Research                                                  
             <coin-discuss at lis                                             
              t.coin-or.org>                                               
                                                                           
                                                                           




In the definition for operator () of the row_count_hash class
(in CglProbing.cpp, line 83) we see the following assertion:

        assert(sizeof(size_t)==sizeof(unsigned int))

Is this to be understood as a statement that CGL cannot be built
as a native library on 64-bit systems?  Is it obligatorily limited
to 32-bit applications?

Sincerely,

- David Librik
librik at panix.com
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss





More information about the Coin-discuss mailing list