From 787bde56303f8f08260a48cc33da83294ecba228 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 5 Jul 2018 07:34:04 +0200 Subject: [PATCH] Fix syntax errors introduced by last commit (regression) Signed-off-by: Stefan Weil --- src/lstm/network.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lstm/network.cpp b/src/lstm/network.cpp index 3dc28229..1607af06 100644 --- a/src/lstm/network.cpp +++ b/src/lstm/network.cpp @@ -258,6 +258,7 @@ Network* Network::CreateFromFile(TFile* fp) { network = new FullyConnected(stub.name_, stub.ni_, stub.no_, stub.type_); break; default: + ; } if (network) { network->training_ = stub.training_; @@ -266,7 +267,7 @@ Network* Network::CreateFromFile(TFile* fp) { network->num_weights_ = stub.num_weights_; if (!network->DeSerialize(fp)) { delete network; - network =‌ nullptr; + network = nullptr; } } return network;