|
From: Jonathan S. <sw...@gm...> - 2023-03-19 22:11:37
|
Hi Donghee, DriftTermStructure was deprecated in version 1.26 because it was apparently unused. If you check the source code[1], it says that you should copy it into your codebase if you need it. Probably ChatGPT was trained on older versions of the library, so I’d be a bit skeptical of its output. Is there anything particular in the Bonds example that you were looking for but didn’t find? [1] https://github.com/lballabio/QuantLib/blob/master/ql/termstructures/yield/drifttermstructure.hpp 2023년 3월 19일 (일) 22:53, Donghee Shim <dh7...@gm...>님이 작성: > Hello, Quantlib Community! > > I'm a beginner for Quantlib, studied bonds example. GPT shows me the very > simple code for FixedRateBond example showing the case generating > FixedRateBond from BondHelper. as > https://shimdonghee-vigilant-adventure-7gvr4j9jvw43x9gq.github.dev/ . > When I built this code with VS 2022, error " > \QuantLib-1.29\ql\termstructures\yield\drifttermstructure.hpp(86,24): error > C4996: 'QuantLib::DriftTermStructure': deprecated " occurred. > I could not find command using this class. > How can I fix it? > > I'm very sorry for this novice question and thaank you in advance for your > time! > > Best Regards > > Shim Donghee > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |