octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54217] Build fails with error: call of overlo


From: Michele
Subject: [Octave-bug-tracker] [bug #54217] Build fails with error: call of overloaded ‘pow(int,int)’ is ambiguous
Date: Sat, 30 Jun 2018 20:35:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #2, bug #54217 (project octave):

Thanks very much.  I'll try that (once I figure out how to use diff).  I'm
looking at the two offending lines in __betainc__.cc right now.

Meanwhile, it looks like I'm not alone.  I've been reading this:
https://bytes.com/topic/c/answers/727736-ambiguous-call-pow

where this same problem seems to have engendered some heated discussion. 
Would simply changing line 80:

 static const float tiny = pow (2, -50);

to 

 static const float tiny = int pow (2, -50);

work?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54217>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]