Commit a1d43b1d authored by Markus Holzer's avatar Markus Holzer
Browse files

Remove NodeList Warning

parent 00738cb8
import logging
from typing import List, Union
import sympy
......@@ -22,7 +21,6 @@ class NodeCollection:
elif all((isinstance(n, Node) for n in assignments)):
self.is_Nodes = True
self.is_Assignments = False
logging.warning('Using Nodes is experimental and not fully tested. Double check your generated code!')
raise ValueError(f'The list "{assignments}" is mixed. Pass either a list of "pystencils.Assignments" '
f'or a list of "pystencils.astnodes.Node')
......@@ -89,7 +89,6 @@ class CastFunc(sp.Function):
return super().is_nonnegative
def is_real(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment