[Osi-tickets] Re: [COIN-OR Open Solver Interface] #31: Microsoft cl compiler does work with pow(int, double) signature

COIN-OR Open Solver Interface coin-trac at coin-or.org
Fri Jun 1 22:15:48 EDT 2007


#31: Microsoft cl compiler does work with pow(int, double) signature
----------------------+-----------------------------------------------------
  Reporter:  kmartin  |       Owner:  mjs                    
      Type:  defect   |      Status:  closed                 
  Priority:  minor    |   Milestone:                         
 Component:  OsiDyLP  |     Version:  0.95.2                 
Resolution:  fixed    |    Keywords:  Microsoft Visual Studio
----------------------+-----------------------------------------------------
Changes (by lou):

  * status:  new => closed
  * resolution:  => fixed

Old description:

> In OsiDlypPresolve change line 279
>
>   { val *= pow(10,(double) exp) ; }
>
> to
>
>   { val *= pow(10.,(double) exp) ; }
>
> and line 286
>
>   { val *= pow(10,(double) exp) ; }
>
> to
>
>   { val *= pow(10.,(double) exp) ; }
>
> The Microsoft cl complier does not work with the signature pow(int,
> double)

New description:

 In !OsiDlypPresolve change line 279

   { val *= pow(10,(double) exp) ; }

 to

   { val *= pow(10.,(double) exp) ; }

 and line 286

   { val *= pow(10,(double) exp) ; }

 to

   { val *= pow(10.,(double) exp) ; }

 The Microsoft cl complier does not work with the signature pow(int,
 double)

Comment:

 Done in Osi/trunk.

-- 
Ticket URL: <https://projects.coin-or.org:8888/Osi/ticket/31#comment:1>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).



More information about the Osi-tickets mailing list