Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
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
Model registry
Operate
Environments
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
Merge requests
!275
WIP: Revamp the type system
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP: Revamp the type system
holzer/pystencils:TypeSystem
into
master
Overview
14
Commits
94
Pipelines
73
Changes
5
Closed
Markus Holzer
requested to merge
holzer/pystencils:TypeSystem
into
master
3 years ago
Overview
3
Commits
94
Pipelines
73
Changes
5
Expand
0
0
Merge request reports
Viewing commit
e5736458
Prev
Next
Show latest version
5 files
+
49
−
172
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
e5736458
WIP update symbol type list
· e5736458
Markus Holzer
authored
3 years ago
pystencils/typing/cast_functions.py
+
4
−
0
Options
@@ -52,6 +52,10 @@ class CastFunc(sp.Function):
@@ -52,6 +52,10 @@ class CastFunc(sp.Function):
def
dtype
(
self
):
def
dtype
(
self
):
return
self
.
args
[
1
]
return
self
.
args
[
1
]
@property
def
expr
(
self
):
return
self
.
args
[
0
]
@property
@property
def
is_integer
(
self
):
def
is_integer
(
self
):
"""
"""
Loading