From c67b5fc66283ba20480626085deda09621acd8fa Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Thu, 17 Jun 2021 14:00:39 -0500 Subject: [PATCH] add permits_inplace_modification --- arraycontext/impl/pytato.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py index 739a922..93bf7e4 100644 --- a/arraycontext/impl/pytato.py +++ b/arraycontext/impl/pytato.py @@ -528,5 +528,8 @@ class PytatoArrayContext(ArrayContext): return pt.einsum(spec, *(preprocess_arg(arg) for arg in args)) + def permits_inplace_modification(self): + return False + # }}} -- GitLab