From a1d43b1dad05514f98e27f40351fa1ed32d02409 Mon Sep 17 00:00:00 2001 From: Markus Holzer <markus.holzer@fau.de> Date: Wed, 11 May 2022 11:26:24 +0200 Subject: [PATCH] Remove NodeList Warning --- pystencils/node_collection.py | 2 -- pystencils/typing/cast_functions.py | 1 - 2 files changed, 3 deletions(-) diff --git a/pystencils/node_collection.py b/pystencils/node_collection.py index 821eda99b..804a74e20 100644 --- a/pystencils/node_collection.py +++ b/pystencils/node_collection.py @@ -1,4 +1,3 @@ -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') diff --git a/pystencils/typing/cast_functions.py b/pystencils/typing/cast_functions.py index 9e9ad372e..1b83d223c 100644 --- a/pystencils/typing/cast_functions.py +++ b/pystencils/typing/cast_functions.py @@ -89,7 +89,6 @@ class CastFunc(sp.Function): else: return super().is_nonnegative - @property def is_real(self): """ -- GitLab