diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py index 0eb6e0f0d47e4583809bb37658b16586d09ff084..3bb652657ef502348f1c0d75e5ab4fe9b24022a9 100644 --- a/pymbolic/primitives.py +++ b/pymbolic/primitives.py @@ -996,6 +996,13 @@ class Vector(Expression): assert isinstance(children, tuple) self.children = children + from warnings import warn + warn("pymbolic vectors are deprecated in favor of either " + "(a) numpy object arrays and " + "(b) pymbolic.geometric_algebra.MultiVector " + "(depending on the required semantics)", + DeprecationWarning) + def __nonzero__(self): for i in self.children: if is_nonzero(i):