commit 1322c41c051cc50e85698f41f4f3fb44848e5396 parent 53ab83e1dd1f5be5a7d1cd7e672f626c815a69e5 Author: Keith Bloemer <32459398+GuitarML@users.noreply.github.com> Date: Tue, 1 Feb 2022 14:27:16 -0600 Update RTNeuralLSTM.cpp Diffstat:
M | Source/RTNeuralLSTM.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Source/RTNeuralLSTM.cpp b/Source/RTNeuralLSTM.cpp @@ -21,8 +21,8 @@ template <typename T1> void RT_LSTM::set_weights(T1 model, const char* filename) { // Initialize the correct model - auto& lstm = (*model).get<0>(); - auto& dense = (*model).get<1>(); + auto& lstm = (*model).template get<0>(); + auto& dense = (*model).template get<1>(); // read a JSON file std::ifstream i2(filename);