From d2189542a62b8727f6326ab6f0c0519765670a2e Mon Sep 17 00:00:00 2001 From: David Ham Date: Sat, 6 Jul 2024 20:51:58 +0100 Subject: [PATCH] _ad_str should be a property --- pyadjoint/overloaded_type.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyadjoint/overloaded_type.py b/pyadjoint/overloaded_type.py index a6a02f68..0f96667e 100644 --- a/pyadjoint/overloaded_type.py +++ b/pyadjoint/overloaded_type.py @@ -308,6 +308,7 @@ def _ad_dim(self): """ raise NotImplementedError + @property def _ad_str(self): """Return the string representation of the block variable.