Skip to content

Commit

Permalink
Handle unknown transmission type deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Sep 6, 2023
1 parent d0e4225 commit 13f4bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions avida-core/include/public/avida/systematics/Unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ namespace Avida {
transmission_type = HORIZONTAL;
else if (transmissionStr == "vert")
transmission_type = VERTICAL;
else if (transmissionStr == "unknown")
transmission_type = UNKNOWN;

// Map string to external
external = (externalStr == "ext");
Expand Down

0 comments on commit 13f4bc4

Please sign in to comment.