From fb921021c2b41ca8e639cf44745b024c32d0aa69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Thu, 23 Jun 2022 19:41:14 +0200
Subject: [PATCH] Make StateBlock abstract with trfrm() = 0

---
 include/core/state_block/state_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/core/state_block/state_block.h b/include/core/state_block/state_block.h
index 78fa98127..2dbab85a7 100644
--- a/include/core/state_block/state_block.h
+++ b/include/core/state_block/state_block.h
@@ -188,7 +188,7 @@ public:
 
         void setNonTransformable() {transformable_ = false;}
 
-        virtual void transform(const VectorComposite& _transformation) {};
+        virtual void transform(const VectorComposite& _transformation) = 0;
 
         void plus(const Eigen::VectorXd& _dv);
 
-- 
GitLab