commit 6cb988efa3105dc9c4787303f5b704453ef0cf03 parent 628ab23208dee810247789bc8183c1cc4b1bb9ce Author: Keith Bloemer <32459398+GuitarML@users.noreply.github.com> Date: Tue, 1 Feb 2022 14:14:25 -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 = typename (*model).get<0>(); + auto& dense = typename (*model).get<1>(); // read a JSON file std::ifstream i2(filename);