Skip to content
Snippets Groups Projects
Commit 63336d34 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' of ssh://github.com/inducer/pymbolic

parents 85d5b935 203889c6
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment