Skip to content

Commit

Permalink
add virtual dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaspers committed Nov 8, 2018
1 parent 4c9f252 commit 90bcbc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ql/models/calibrationhelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ namespace QuantLib {
//! abstract base class for calibration helpers
class CalibrationHelperBase {
public:
virtual ~CalibrationHelperBase() {}
//! returns the error resulting from the model valuation
virtual Real calibrationError() = 0;
};
Expand Down

0 comments on commit 90bcbc9

Please sign in to comment.