summaryrefslogtreecommitdiff
path: root/scaddins/source/pricing
diff options
context:
space:
mode:
Diffstat (limited to 'scaddins/source/pricing')
-rw-r--r--scaddins/source/pricing/black_scholes.hxx5
-rw-r--r--scaddins/source/pricing/pricing.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/scaddins/source/pricing/black_scholes.hxx b/scaddins/source/pricing/black_scholes.hxx
index cdcb20b84182..9e82857e0364 100644
--- a/scaddins/source/pricing/black_scholes.hxx
+++ b/scaddins/source/pricing/black_scholes.hxx
@@ -11,8 +11,7 @@
*/
-#ifndef INCLUDED_SCADDINS_SOURCE_PRICING_BLACK_SCHOLES_HXX
-#define INCLUDED_SCADDINS_SOURCE_PRICING_BLACK_SCHOLES_HXX
+#pragma once
// options prices and greeks in the Black-Scholes model
// also known as TV (theoretical value)
@@ -144,6 +143,4 @@ double prob_in_money(double S, double vol, double mu,
} // namespace sca
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx
index ffc13499831d..0f613ddbe3ee 100644
--- a/scaddins/source/pricing/pricing.hxx
+++ b/scaddins/source/pricing/pricing.hxx
@@ -24,8 +24,7 @@
// to avoid having to rename all classes to do with UNO
// technicalities we use our own namespace
-#ifndef INCLUDED_SCADDINS_SOURCE_PRICING_PRICING_HXX
-#define INCLUDED_SCADDINS_SOURCE_PRICING_PRICING_HXX
+#pragma once
#include <vector>
@@ -195,6 +194,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */