Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils-sfg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils-sfg
Commits
35764348
Commit
35764348
authored
3 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
fix cstdint collection
parent
01113bf4
No related branches found
No related tags found
1 merge request
!17
Improved Source File and Code Structure Modelling
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencilssfg/lang/expressions.py
+2
-2
2 additions, 2 deletions
src/pystencilssfg/lang/expressions.py
with
2 additions
and
2 deletions
src/pystencilssfg/lang/expressions.py
+
2
−
2
View file @
35764348
...
@@ -7,7 +7,7 @@ import sympy as sp
...
@@ -7,7 +7,7 @@ import sympy as sp
from
pystencils
import
TypedSymbol
from
pystencils
import
TypedSymbol
from
pystencils.codegen
import
Parameter
from
pystencils.codegen
import
Parameter
from
pystencils.types
import
PsType
,
Ps
Scala
rType
,
UserTypeSpec
,
create_type
from
pystencils.types
import
PsType
,
Ps
Intege
rType
,
UserTypeSpec
,
create_type
from
..exceptions
import
SfgException
from
..exceptions
import
SfgException
from
.headers
import
HeaderFile
from
.headers
import
HeaderFile
...
@@ -474,7 +474,7 @@ def includes(obj: ExprLike | PsType) -> set[HeaderFile]:
...
@@ -474,7 +474,7 @@ def includes(obj: ExprLike | PsType) -> set[HeaderFile]:
case
PsType
():
case
PsType
():
headers
=
set
(
HeaderFile
.
parse
(
h
)
for
h
in
obj
.
required_headers
)
headers
=
set
(
HeaderFile
.
parse
(
h
)
for
h
in
obj
.
required_headers
)
if
isinstance
(
obj
,
Ps
Scala
rType
):
if
isinstance
(
obj
,
Ps
Intege
rType
):
headers
.
add
(
HeaderFile
.
parse
(
"
<cstdint>
"
))
headers
.
add
(
HeaderFile
.
parse
(
"
<cstdint>
"
))
return
headers
return
headers
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment