fix assert in nlp linear
Merge pull request #985 from memimo/nlpmul

fix assert in nlp linear