Closed leftthomas closed 5 months ago
@wj-Mcat hello, can you confirm this bug and fix this quickly?
可以给我们提一个pr修复这个问题
@lugimzzz 额,我看你们代码的逻辑那个地方涉及到结果的产生,需要用到随机数,还是你们自己看看怎么设计比较好
This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。
This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。
软件环境
重复问题
错误描述
稳定复现步骤 & 代码
The below code could produce the error:
And I have debugged, the error is raised by
_augment_single(seq_tokens, aug_indexes, p)
method, the argp
is passed asNone
(line 133 of char.py) andp
is used in line 227:so it raised the None type Error, this should be fixed by given
p
a default int value or not use the argp
.