Skip to content

Commit

Permalink
making destructor virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
osorensen committed Apr 5, 2024
1 parent 82e581a commit 7856831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using ldlt = Eigen::SimplicialLDLT<Eigen::SparseMatrix<T> >;
template <typename T>
struct Model {
Model() {};
~Model() = default;
virtual ~Model() = default;
virtual T cumulant(const Vdual<T>& linpred, const Vdual<T>& trials,
const Ddual<T>& WSqrt) = 0;
virtual T constfun(const Vdual<T>& y, const T& phi, const Ddual<T>& WSqrt) = 0;
Expand Down

0 comments on commit 7856831

Please sign in to comment.