This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-203
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-203 by this push:
new 4430f7c Update NCIntentSolverEngine.scala
4430f7c is described below
commit 4430f7c15d57c748252dc81c2dcfdb5112784059
Author: Aaron Radzinski <[email protected]>
AuthorDate: Mon Dec 21 21:21:58 2020 -0800
Update NCIntentSolverEngine.scala
---
.../org/apache/nlpcraft/model/intent/impl/NCIntentSolverEngine.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverEngine.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverEngine.scala
index f3f78ee..1021fa9 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverEngine.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverEngine.scala
@@ -58,7 +58,7 @@ object NCIntentSolverEngine extends LazyLogging with
NCOpenCensusTrace {
* @param that Weight to add.
* @return
*/
- def ++=(that: Weight2): Weight2 = {
+ def ::=(that: Weight2): Weight2 = {
val buf2 = mutable.ArrayBuffer[Int]()
for (i ← 0 until Math.max(buf.size, that.buf.size))