From b289d66b3c04571704e827ad80c4398beaf67cb7 Mon Sep 17 00:00:00 2001 From: Moritz Sallermann Date: Mon, 18 Mar 2024 18:39:32 +0000 Subject: [PATCH] agent_io: remove static asserts Did not compile on the CI. Co-authored-by: Amrita Goswami --- include/agent_io.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/agent_io.hpp b/include/agent_io.hpp index b067db7..8dba47e 100644 --- a/include/agent_io.hpp +++ b/include/agent_io.hpp @@ -8,7 +8,6 @@ namespace Seldon template std::string agent_to_string( const AgentT & agent ) { - static_assert( false, "Base implementation not valid" ); return ""; } @@ -21,8 +20,7 @@ std::string opinion_to_string( const AgentT & agent ) template AgentT agent_from_string( const std::string & str ) { - static_assert( false, "Base implementation not valid" ); - return ""; + return AgentT{}; } template