This is an automated email from the git hooks/post-receive script. logari81 pushed a commit to branch master in repository getfem.
The following commit(s) were added to refs/heads/master by this push: new 98fe5824 Fix incompatibility with MSVC compiler 98fe5824 is described below commit 98fe582480409c471a5e950089ca92fa62dd66fc Author: Konstantinos Poulios <logar...@gmail.com> AuthorDate: Wed Mar 6 23:55:01 2024 +0100 Fix incompatibility with MSVC compiler --- src/getfem/getfem_global_function.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/getfem/getfem_global_function.h b/src/getfem/getfem_global_function.h index b07434e9..e40ea564 100644 --- a/src/getfem/getfem_global_function.h +++ b/src/getfem/getfem_global_function.h @@ -202,7 +202,8 @@ namespace getfem { /** below a list of simple functions of (x,y) used for building the crack singular functions */ - struct abstract_xy_function : virtual public dal::static_stored_object { + class abstract_xy_function : virtual public dal::static_stored_object { + public: virtual scalar_type val(scalar_type x, scalar_type y) const = 0; virtual base_small_vector grad(scalar_type x, scalar_type y) const = 0; virtual base_matrix hess(scalar_type x, scalar_type y) const = 0;