From bef5f5b9f4bfb1b148912febc2857cc953fbe099 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Tue, 16 Nov 2021 18:37:59 +0100 Subject: [PATCH] Small fixup in python wrapper --- python/cxx/deck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cxx/deck.cpp b/python/cxx/deck.cpp index ea7330e90..1ed64d0fc 100644 --- a/python/cxx/deck.cpp +++ b/python/cxx/deck.cpp @@ -32,7 +32,7 @@ namespace { } const DeckKeyword& getKeyword_int( const Deck& deck, size_t index ) { - return deck.getKeyword(index); + return deck[index]; } //This adds a keyword by copy