Skip to content
Snippets Groups Projects
Commit a1d43b1d authored by Markus Holzer's avatar Markus Holzer
Browse files

Remove NodeList Warning

parent 00738cb8
1 merge request!292Rebase of pystencils Type System
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!')
else:
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):
else:
return super().is_nonnegative
@property
def is_real(self):
"""
......
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