From 8adc25e5bc2918043d21001cc7aaf68c3c20b725 Mon Sep 17 00:00:00 2001 From: drdkad Date: Sun, 21 Jul 2024 09:41:07 +0100 Subject: [PATCH] Fix missing formats in Game.write --- src/pygambit/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pygambit/util.h b/src/pygambit/util.h index a8e4067a1..faca3051a 100644 --- a/src/pygambit/util.h +++ b/src/pygambit/util.h @@ -59,7 +59,7 @@ std::string WriteGame(const Game &p_game, const std::string &p_format) else if (p_format == "sgame") { return LaTeXGameWriter().Write(p_game); } - else if (p_format == "native") { + else if (p_format == "native" || p_format == "nfg" || p_format == "efg") { std::ostringstream f; p_game->Write(f, p_format); return f.str();