Skip to content

Commit

Permalink
Make function Network::spec pure virtual
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed May 28, 2024
1 parent a7c0a95 commit 34693cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lstm/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ class TESS_API Network {
const std::string &name() const {
return name_;
}
virtual std::string spec() const {
return "?";
}
virtual std::string spec() const = 0;
bool TestFlag(NetworkFlags flag) const {
return (network_flags_ & flag) != 0;
}
Expand Down

0 comments on commit 34693cd

Please sign in to comment.