1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Merge pull request #433 from paboyle/hotfix/virtual-dtor

Virtual destructor for LinearOperator
This commit is contained in:
Peter Boyle 2023-04-12 16:56:18 -04:00 committed by GitHub
commit 80c9d77e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -542,6 +542,7 @@ public:
(*this)(in[i], out[i]); (*this)(in[i], out[i]);
} }
} }
virtual ~LinearFunction(){};
}; };
template<class Field> class IdentityLinearFunction : public LinearFunction<Field> { template<class Field> class IdentityLinearFunction : public LinearFunction<Field> {