Skip to content

Commit 787bde5

Browse files
committed
Fix syntax errors introduced by last commit (regression)
Signed-off-by: Stefan Weil <[email protected]>
1 parent cf6c79d commit 787bde5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lstm/network.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ Network* Network::CreateFromFile(TFile* fp) {
258258
network = new FullyConnected(stub.name_, stub.ni_, stub.no_, stub.type_);
259259
break;
260260
default:
261+
;
261262
}
262263
if (network) {
263264
network->training_ = stub.training_;
@@ -266,7 +267,7 @@ Network* Network::CreateFromFile(TFile* fp) {
266267
network->num_weights_ = stub.num_weights_;
267268
if (!network->DeSerialize(fp)) {
268269
delete network;
269-
network = nullptr;
270+
network = nullptr;
270271
}
271272
}
272273
return network;

0 commit comments

Comments
 (0)