Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arraycontext
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
arraycontext
Commits
21a89f1b
Commit
21a89f1b
authored
6 days ago
by
Andreas Klöckner
Committed by
Andreas Klöckner
6 days ago
Browse files
Options
Downloads
Patches
Plain Diff
Disallow deprecated use of _rec_map_container with legacy array types
parent
e09579e6
No related branches found
No related tags found
No related merge requests found
Pipeline
#654777
failed
5 days ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arraycontext/impl/pytato/__init__.py
+0
-8
0 additions, 8 deletions
arraycontext/impl/pytato/__init__.py
with
0 additions
and
8 deletions
arraycontext/impl/pytato/__init__.py
+
0
−
8
View file @
21a89f1b
...
...
@@ -342,14 +342,6 @@ class PytatoPyOpenCLArrayContext(_BasePytatoArrayContext):
def
_wrapper
(
ary
):
if
isinstance
(
ary
,
allowed_types
):
return
func
(
ary
)
elif
not
strict
and
isinstance
(
ary
,
self
.
_frozen_array_types
):
from
warnings
import
warn
warn
(
f
"
Invoking
{
type
(
self
).
__name__
}
.
{
func
.
__name__
[
1
:
]
}
with
"
f
"
{
type
(
ary
).
__name__
}
will be unsupported in 2023. Use
"
"
'
to_tagged_cl_array
'
to convert instances to
"
"
TaggableCLArray.
"
,
DeprecationWarning
,
stacklevel
=
2
)
return
func
(
tga
.
to_tagged_cl_array
(
ary
))
elif
np
.
isscalar
(
ary
):
if
default_scalar
is
None
:
return
ary
...
...
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