This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
EESAST
/
THUAI6
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
3
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
perf(CAPI):
🐛
change static to constexpr
tags/0.1.0
DragonAura
3 years ago
parent
60503e11ab
commit
cbd1e2106d
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
CAPI/API/include/utils.hpp
+ 2
- 2
CAPI/API/include/utils.hpp
View File
@@ -13,9 +13,9 @@
namespace AssistFunction
{
const int numOfGridPerCell = 100;
const
expr
int numOfGridPerCell = 100;
[[nodiscard]]
static
inline int GridToCell(int grid) noexcept
[[nodiscard]]
constexpr
inline int GridToCell(int grid) noexcept
{
return grid / numOfGridPerCell;
}
Write
Preview
Loading…
Cancel
Save