Closed raffaem closed 2 years ago
In src/model.cpp,
the correct:
if (s.RHSTokens.size() == 0 || s.LHSTokens.size() == 0) {
was replaced with the wrong:
if (ex.LHSTokens.size() == 0 or ex.RHSTokens.size() == 0) {
Fix it by changing the or
into ||
in https://github.com/facebookresearch/StarSpace/blob/8aee0a950aa607c023e5c91cff518bec335b5df5/src/model.cpp#L235
When compiling latest commit ce38eecfdbd41dd7d400b806dbf9cef20442fa01 on Visual Studio 2019