This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
AbductiveLearning
/
ABLkit
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
[FIX] use is None instead of ==
pull/1/head
Tony-HYX
2 years ago
parent
4fa9bd522c
commit
0cacd99bd4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
abl/reasoning/kb.py
+ 1
- 1
abl/reasoning/kb.py
View File
@@ -110,7 +110,7 @@ class KBBase(ABC):
bool
The result of the check.
"""
if logic_result
==
None:
if logic_result
is
None:
return False
if isinstance(logic_result, (int, float)) and isinstance(y, (int, float)):
Write
Preview
Loading…
Cancel
Save