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 6c7ebb1 Update NCIntentSolverEngine.scala
6c7ebb1 is described below
commit 6c7ebb10cb2fb787f681424c5e26cc338271a910
Author: Aaron Radzinski <[email protected]>
AuthorDate: Mon Dec 21 21:22:22 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 1021fa9..b84823d 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))