Skip to content

Commit

Permalink
agent_io: remove static asserts
Browse files Browse the repository at this point in the history
Did not compile on the CI.

Co-authored-by: Amrita Goswami <[email protected]>
  • Loading branch information
MSallermann and amritagos committed Mar 18, 2024
1 parent 8ff79cd commit b289d66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/agent_io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Seldon
template<typename AgentT>
std::string agent_to_string( const AgentT & agent )
{
static_assert( false, "Base implementation not valid" );
return "";
}

Expand All @@ -21,8 +20,7 @@ std::string opinion_to_string( const AgentT & agent )
template<typename AgentT>
AgentT agent_from_string( const std::string & str )
{
static_assert( false, "Base implementation not valid" );
return "";
return AgentT{};
}

template<typename AgentT>
Expand Down

0 comments on commit b289d66

Please sign in to comment.