|
From: Breig, D. C. (I. GmbH)
<CHR...@IN...> - 2013-10-23 14:49:58
|
Hi Luigi, hi all
the empty shared_ptr works fine for e.g. InterpolatedZeroCurves but not for ZeroSpreadedTermStructures. Then, while setting the empty shared_ptr, following error messages takes place:
"could not notify one or more observers: empty Handle cannot be dereferenced"
I'm at the moment using version 1.0 of QuantLib (in case the problem is a bug and was already fixed).
Best and thanks
Chris
________________________________
Von: Luigi Ballabio [mailto:lui...@gm...]
Gesendet: Freitag, 18. Oktober 2013 16:13
An: Breig, Dr. Christoph (IDS GmbH)
Cc: QuantLib developers
Betreff: Re: [Quantlib-dev] RelinkableHandle<YieldTermStructure> reset to Null
Hi,
link it to an empty shared_ptr.
Luigi
On Oct 18, 2013 4:01 PM, "Breig, Dr. Christoph (IDS GmbH)" <CHR...@in...<mailto:CHR...@in...>> wrote:
Dear all,
has anybody an idea how to set a Relinkable Handle who is already linked to a YieldTermStructure object back to Null, so that the function
"empty()" returns again true?
Best and thanks
Chris
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-dev mailing list
Qua...@li...<mailto:Qua...@li...>
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
|