Skip to content

Commit c4249d6

Browse files
authored
Merge pull request #5 from klausspanderen/test_reg
declare benchmark test cases and add cpp to Makefile.am and CMakeLists.txt
2 parents d5dfa33 + 849d213 commit c4249d6

12 files changed

Lines changed: 178 additions & 37 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ set(QUANTLIB_VERSION ${QUANTLIB_VERSION_MAJOR}.${QUANTLIB_VERSION_MINOR}.${QUANT
1111

1212
# Project Info
1313
set(PACKAGE_NAME "QuantLib")
14-
set(PACKAGE_VERSION "${QUANTLIB_VERSION}-rc")
15-
set(PACKAGE_VERSION_HEX "0x013200c0")
14+
set(PACKAGE_VERSION "${QUANTLIB_VERSION}")
15+
set(PACKAGE_VERSION_HEX "0x013200f0")
1616
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
1717
set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}")
1818
set(PACKAGE_BUGREPORT "https://github.com/lballabio/QuantLib/issues/")

ChangeLog.txt

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,142 @@
1+
commit ab65963d73e2f194253e1267bfec4dd606083e48
2+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
3+
Date: Mon, 12 Jul 2021 09:46:54 +0200
4+
5+
Set version to 1.32 final.
6+
7+
CMakeLists.txt | 4 ++--
8+
configure.ac | 2 +-
9+
ql/version.hpp | 4 ++--
10+
3 files changed, 5 insertions(+), 5 deletions(-)
11+
12+
commit ac90bef266f29990b5709681a06dd7030c4f5fdb
13+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
14+
Date: Thu, 19 Oct 2023 11:17:32 +0200
15+
16+
Update news
17+
18+
Docs/pages/history.docs | 7 ++++---
19+
News.md | 8 +++++---
20+
2 files changed, 9 insertions(+), 6 deletions(-)
21+
22+
commit 6c22cad48d028ac55be72c5dc7bb169fe87eeb7b
23+
Merge: d02ef2471 ebef37553
24+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
25+
Date: Tue, 17 Oct 2023 23:23:26 +0200
26+
27+
apply the paymentLag and paymentCalendar to the fixed leg (#1812)
28+
29+
commit d02ef2471e06680250ba8840bf4cd0f3fadd8f8f
30+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
31+
Date: Fri, 13 Oct 2023 09:17:31 +0200
32+
33+
Update documentation for configuration flag
34+
35+
Docs/pages/config.docs | 1 -
36+
configure.ac | 13 ++++++-------
37+
ql/userconfig.hpp | 7 +++----
38+
3 files changed, 9 insertions(+), 12 deletions(-)
39+
40+
commit ebef37553632ab8ee8cc08a9534151e367a077d7
41+
Author: Guillaume Horel <guillaume.horel@gmail.com>
42+
Date: Thu, 12 Oct 2023 15:43:36 -0400
43+
44+
apply the paymentLag and paymentCalendar to the fixed leg
45+
46+
ql/instruments/overnightindexedswap.cpp | 2 +-
47+
1 file changed, 1 insertion(+), 1 deletion(-)
48+
49+
commit 82f71c2b2a644c7206706be93a7bf252f8829220
50+
Merge: 79561ae4c 88205db80
51+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
52+
Date: Fri, 6 Oct 2023 16:50:06 +0200
53+
54+
fix past-end iterator dereference, clean up (#1806)
55+
56+
commit 88205db8044668af1b62bc54b37ef2ae4bded7b2
57+
Author: Peter Caspers <peter.caspers@acadia.inc>
58+
Date: Fri, 6 Oct 2023 15:28:47 +0200
59+
60+
fix past-end iterator dereference, clean up
61+
62+
ql/time/ecb.cpp | 93 ++++++++++++++++++++++++++++++++++-----------------------
63+
1 file changed, 55 insertions(+), 38 deletions(-)
64+
65+
commit 79561ae4c71ac3c4e39d401cc1fc8bf05f77b38c
66+
Merge: 6f3046752 0a6c999ea
67+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
68+
Date: Fri, 6 Oct 2023 08:39:21 +0200
69+
70+
Avoid internal compiler error on VC++17 (#1805)
71+
72+
commit 0a6c999eaa5ccc1ff1d2e97ece52c285739d0a7a
73+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
74+
Date: Thu, 5 Oct 2023 11:37:56 +0200
75+
76+
Avoid internal compiler error on VC++17
77+
78+
It doesn't seem to like fancy default arguments.
79+
80+
News.md | 4 ++
81+
ql/cashflows/digitalcmscoupon.cpp | 5 ++
82+
ql/cashflows/digitalcmscoupon.hpp | 12 ++--
83+
ql/cashflows/digitalcoupon.cpp | 15 ++---
84+
ql/cashflows/digitalcoupon.hpp | 2 +-
85+
ql/cashflows/digitaliborcoupon.cpp | 5 ++
86+
ql/cashflows/digitaliborcoupon.hpp | 12 ++--
87+
ql/experimental/coupons/digitalcmsspreadcoupon.cpp | 5 ++
88+
ql/experimental/coupons/digitalcmsspreadcoupon.hpp | 12 ++--
89+
test-suite/digitalcoupon.cpp | 64 ++++++----------------
90+
10 files changed, 65 insertions(+), 71 deletions(-)
91+
92+
commit 6f3046752c018544f6d022a3e437aaf5fe273462
93+
Merge: 2d161c53c bc12e98e4
94+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
95+
Date: Thu, 5 Oct 2023 15:25:46 +0200
96+
97+
Fix double/Real consistency for maintaining AAD compatibility (#1803)
98+
99+
commit bc12e98e4fa3f387f1b4b50920b3570324f49a26
100+
Author: Auto Differentiation Dev Team <dev@auto-differentiation.com>
101+
Date: Thu, 5 Oct 2023 10:40:47 +0100
102+
103+
Fixing warning for integer/double comparison
104+
105+
test-suite/libormarketmodel.cpp | 2 +-
106+
1 file changed, 1 insertion(+), 1 deletion(-)
107+
108+
commit 5ddeb72157283def81642952912e2552844c7265
109+
Author: Auto Differentiation Dev Team <dev@auto-differentiation.com>
110+
Date: Thu, 5 Oct 2023 10:40:15 +0100
111+
112+
Fixing double/Real consistency, maintaining AAD compatibility
113+
114+
test-suite/xoshiro256starstar.cpp | 12 ++++++------
115+
1 file changed, 6 insertions(+), 6 deletions(-)
116+
117+
commit 2d161c53c46f87815b1265c9f566c2b867786b62
118+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
119+
Date: Wed, 4 Oct 2023 11:52:15 +0200
120+
121+
Set version to 1.32-rc
122+
123+
CMakeLists.txt | 4 ++--
124+
configure.ac | 2 +-
125+
ql/version.hpp | 4 ++--
126+
3 files changed, 5 insertions(+), 5 deletions(-)
127+
128+
commit dd94abe5439bcdec6c949b69b5fb5c6edbdcc9d1
129+
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
130+
Date: Wed, 4 Oct 2023 11:18:57 +0200
131+
132+
Update news and changelog
133+
134+
ChangeLog.txt | 3892 ++++++++++++++++-------------------------------
135+
Contributors.txt | 1 +
136+
Docs/pages/history.docs | 124 +-
137+
News.md | 175 ++-
138+
4 files changed, 1633 insertions(+), 2559 deletions(-)
139+
1140
commit c13293b9ec69b94d44c04cea224bb16479160364
2141
Author: Luigi Ballabio <luigi.ballabio@gmail.com>
3142
Date: Tue, 3 Oct 2023 14:36:39 +0200

Docs/pages/config.docs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
\code
7373
#define QL_ENABLE_SESSIONS
7474
\endcode
75-
7675
If defined, singletons will return different instances for
7776
different threads; in particular, this means that the evaluation
7877
date, the stored index fixings and any other settings will be

Docs/pages/history.docs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,10 @@
135135
`ql/pricingengines/vanilla/fdconditions.hpp` and
136136
`ql/models/marketmodels/duffsdeviceinnerproduct.hpp`.
137137

138-
Thanks go also to Jonathan Sweemer, Ralf Konrad, Klaus
139-
Spanderen, Peter Caspers, Tom Anderson and Fredrik Gerdin
140-
Börjesson for a number of smaller fixes and improvements.
138+
Thanks go also to Jonathan Sweemer, Ralf Konrad, Klaus Spanderen,
139+
Peter Caspers, Tom Anderson, Fredrik Gerdin Börjesson, Guillaume
140+
Horel and the XAD team for a number of smaller fixes and
141+
improvements.
141142

142143
<strong>Release 1.31.1 - July 24th, 2023</strong>
143144

News.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changes for QuantLib 1.32:
22
==========================
33

4-
QuantLib 1.32 includes 30 pull requests from several contributors.
4+
QuantLib 1.32 includes 34 pull requests from several contributors.
55

66
Some of the most notable changes are included below.
77
A detailed list of changes is available in ChangeLog.txt and at
@@ -172,5 +172,7 @@ Deprecated features
172172

173173
**Thanks go also** to Jonathan Sweemer (@sweemer), Ralf Konrad
174174
(@ralfkonrad), Klaus Spanderen (@klausspanderen), Peter Caspers
175-
(@pcaspers), Tom Anderson (@tomwhoiscontrary) and Fredrik Gerdin
176-
Börjesson (@gbfredrik) for a number of smaller fixes and improvements.
175+
(@pcaspers), Tom Anderson (@tomwhoiscontrary), Fredrik Gerdin
176+
Börjesson (@gbfredrik), Guillaume Horel (@thrasibule) and the XAD team
177+
(@auto-differentiation-dev) for a number of smaller fixes and
178+
improvements.

configure.ac

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Process this file with autoconf to produce a configure script.
2-
AC_INIT([QuantLib], [1.32-rc],
2+
AC_INIT([QuantLib], [1.32],
33
[quantlib-dev@lists.sourceforge.net],
44
[QuantLib])
55
AC_PREREQ(2.62)
@@ -212,13 +212,12 @@ AC_MSG_RESULT([$ql_belt_and_braces])
212212
AC_MSG_CHECKING([whether to enable sessions])
213213
AC_ARG_ENABLE([sessions],
214214
AS_HELP_STRING([--enable-sessions],
215-
[If enabled, singletons will return different
216-
instances for different sessions. You will
217-
have to provide and link with the library
218-
a sessionId() function in namespace QuantLib,
219-
returning a different session id for each
220-
session. This also implies thread-safe
221-
Singleton initialization.]),
215+
[If enabled, singletons will return
216+
different instances for different
217+
threads; in particular, this means that
218+
the evaluation date, the stored index
219+
fixings and any other settings will be
220+
per-thread. Undefined by default.]),
222221
[ql_use_sessions=$enableval],
223222
[ql_use_sessions=no])
224223
if test "$ql_use_sessions" = "yes" ; then

ql/instruments/overnightindexedswap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace QuantLib {
123123
RateAveraging::Type averagingMethod)
124124
: FixedVsFloatingSwap(type, std::move(fixedNominals), std::move(fixedSchedule), fixedRate, std::move(fixedDC),
125125
overnightNominals, overnightSchedule, overnightIndex,
126-
spread, DayCounter(), ext::nullopt),
126+
spread, DayCounter(), ext::nullopt, paymentLag, paymentCalendar),
127127
overnightIndex_(overnightIndex), averagingMethod_(averagingMethod) {
128128

129129
legs_[1] =

ql/userconfig.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@
6060
#endif
6161

6262
/* Define this to have singletons return different instances for
63-
different sessions. You will have to provide and link with the
64-
library a sessionId() function in namespace QuantLib, returning a
65-
different session id for each session.
66-
This also implies thread-safe Singleton initialization.
63+
different threads; in particular, this means that the evaluation
64+
date, the stored index fixings and any other settings will be
65+
per-thread.
6766
*/
6867
#ifndef QL_ENABLE_SESSIONS
6968
//# define QL_ENABLE_SESSIONS

ql/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
/*! @{ */
3232

3333
//! version string
34-
#define QL_VERSION "1.32-rc"
34+
#define QL_VERSION "1.32"
3535

3636
//! version hexadecimal number
37-
#define QL_HEX_VERSION 0x013200c0
37+
#define QL_HEX_VERSION 0x013200f0
3838

3939
/*! @} */
4040

test-suite/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,11 @@ set(QL_BENCHMARK_SOURCES
367367
lowdiscrepancysequences.cpp lowdiscrepancysequences.hpp
368368
marketmodel_cms.cpp marketmodel_cms.hpp
369369
marketmodel_smm.cpp marketmodel_smm.hpp
370-
quantlibglobalfixture.cpp quantlibglobalfixture.hpp
371370
quantooption.cpp quantooption.hpp
371+
quantlibglobalfixture.cpp quantlibglobalfixture.hpp
372372
riskstats.cpp riskstats.hpp
373373
shortratemodels.cpp shortratemodels.hpp
374-
speedlevel.cpp speedlevel.hpp
374+
speedlevel.cpp speedlevel.hpp
375375
utilities.cpp utilities.hpp
376376
swaptionvolstructuresutilities.hpp
377377
)

0 commit comments

Comments
 (0)