From f8e05598e4edb05c98b313281b23d12be9b27f63 Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Wed, 15 Nov 2023 00:24:34 -0500 Subject: [PATCH] Fix action arg specification --- avida-core/source/actions/SaveLoadActions.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/avida-core/source/actions/SaveLoadActions.cc b/avida-core/source/actions/SaveLoadActions.cc index b2e459b4a..6504c3ffc 100644 --- a/avida-core/source/actions/SaveLoadActions.cc +++ b/avida-core/source/actions/SaveLoadActions.cc @@ -197,13 +197,15 @@ class cActionSaveGermlines : public cAction // String Entries schema.AddEntry("filename", 0, "detailgermlines"); - schema.AddEntry("birthcounts", 1, false); + schema.AddEntry("birthcounts", 0, 0, 1, 0); cArgContainer* argc = cArgContainer::Load(args, schema, feedback); if (argc) { + // String Entries m_filename = argc->GetString(0); - m_birthcounts = argc->GetInt(1); + // Integer Entries + m_birthcounts = argc->GetInt(0); } delete argc;