From 388ecb502a0e5f73b00d7cfb517f10d5c93a4388 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 18 Apr 2024 21:46:16 +0200 Subject: [PATCH] operator "not" not supported by msvc --- ql/termstructures/yield/ratehelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/termstructures/yield/ratehelpers.cpp b/ql/termstructures/yield/ratehelpers.cpp index 279a375e5b7..646641614f5 100644 --- a/ql/termstructures/yield/ratehelpers.cpp +++ b/ql/termstructures/yield/ratehelpers.cpp @@ -625,7 +625,7 @@ namespace QuantLib { customPillarDate) {} void SwapRateHelper::initializeDates() { - if (not swapBuiltViaGivenBuilder) + if (!swapBuiltViaGivenBuilder) // 1. do not pass the spread here, as it might be a Quote // i.e. it can dynamically change // 2. input discount curve Handle might be empty now but it could