This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-206
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-206 by this push:
new 1a7de94 WIP.
1a7de94 is described below
commit 1a7de94bed8f9fb335d1218af1452e1b3a734a5e
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Mar 9 17:31:48 2021 -0800
WIP.
---
.../scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
index 28d3db6..e39ddba 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
@@ -1165,9 +1165,9 @@ object NCDeployManager extends NCService with
DecorateAsScala {
checkTypes(mdlId, mtd, tokParamTypes, paramGenTypes, ctxFirstParam)
// Checks limits.
- val allLimits = terms.map(t ⇒ t.id → (t.min, t.max)).toMap
+ val allLimits = terms.map(t ⇒ t.id.orNull → (t.min, t.max)).toMap
- checkMinMax(mdlId, mtd, tokParamTypes, termIds.map (allLimits),
ctxFirstParam)
+ checkMinMax(mdlId, mtd, tokParamTypes, termIds.map(allLimits),
ctxFirstParam)
// Prepares invocation method.
(ctx: NCIntentMatch) ⇒ {