Login  Register

Re: FW: SABR regression

Posted by Peter Caspers-4 on Nov 19, 2014; 4:28pm
URL: http://quantlib.414.s1.nabble.com/Fwd-FW-SABR-regression-tp16042p16072.html

fine for me. Would we need something like

QL_REQUIRE(seed == (sizeof(seed) == 4 ? 12345 : 6789), "...")

then ? Are 4 and 8 bytes then only possible values on the myriads of
platforms that are supported ?

On 19 November 2014 17:13, Luigi Ballabio <[hidden email]> wrote:

> Nope, the first arg to boost::hash_combine must be a size_t.
> At this point I'd go for choosing the expected result based on the size of
> size_t. What do you think?
>
>
> On Wed, Nov 19, 2014 at 10:44 AM, Luigi Ballabio <[hidden email]>
> wrote:
>>
>> It looks like we crossed answers :)
>>
>> I'll check what happens using long instead of size_t.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev