Re: SWIGTYPE question (correction)

View: New views
1 Messages — Rating Filter:   Alert me  

Re: SWIGTYPE question (correction)

by Harun Özkan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, it should be "RelinkableYieldTermStructure instance ts", below.

----- Original Message -----
From: "Harun Özkan" <harunozkan@...>
To: "QuantLib users" <quantlib-users@...>
Sent: Monday, April 21, 2008 1:54 PM
Subject: Re: [Quantlib-users] SWIGTYPE question


> Thanks Luigi. I'll send the list of all those SWIG artifacts to the list
> in a short time.
>
> By the way, if I have a YieldTermStructure instance ts,
> ts.__deref__()    doesn't pass
> but
> ts.__deref__().__deref__()  does.
>
> Best wishes
> Harun.
>
>
> ----- Original Message -----
> From: "Luigi Ballabio" <luigi.ballabio@...>
> To: "Harun Özkan" <harunozkan@...>
> Cc: "QuantLib users" <quantlib-users@...>
> Sent: Monday, April 21, 2008 12:56 PM
> Subject: Re: [Quantlib-users] SWIGTYPE question
>
>
> On Fri, 2008-04-18 at 23:13 +0300, Harun Özkan wrote:
>> CSharp.
>> Thank you.
>
> Ok. In next release, you'll be able to pass your term structure
> directly. In the meantime, if you have a YieldTermStructure instance ts,
> you can pass ts.__deref__() to the function.
>
> Luigi
>
>
>>
>> ----- Original Message -----
>> On Apr 18, 2008, at 8:28 PM, Harun Özkan wrote:
>> > Yes, I have a YieldTermStructure and I have initialized it properly;
>> > without a "SWIGTYPE_p_" prefix. Other classes, that take
>> > YieldTermStructure in their arguements are working properly.
>> > Nonetheless,
>> > Cashflows.bps() requires SWIGTYPE_p_YieldTermStructure and does not
>> > accept
>> > YieldTermStructure.
>>
>> Hmm. We'll have to fix that. In the meantime, there should be a
>> workaround---but I forgot to ask: what language are you using? The
>> workaround might depend on that.
>
>
> --
>
> Olmstead's Law:
> After all is said and done, a hell of a lot more is said
> than done.
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
QuantLib-users@...
https://lists.sourceforge.net/lists/listinfo/quantlib-users