From 2a24ac0f109613150a5fc9d213effcd3bbd1f614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johannes=20Schm=C3=B6lder?= <j.schmoelder@fz-juelich.de>
Date: Mon, 14 Aug 2023 17:27:39 +0200
Subject: [PATCH] Disable polynomial flow_rate_filter

This is currently not supported by CADET-Core.

See [https://github.com/modsim/CADET/issues/28].
---
 tests/test_unit_operation.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/test_unit_operation.py b/tests/test_unit_operation.py
index 2c5eee184..7ef32b992 100644
--- a/tests/test_unit_operation.py
+++ b/tests/test_unit_operation.py
@@ -192,7 +192,7 @@ def test_parameters(self):
         parameters_expected = {
                 'flow_rate': np.array([1, 0, 0, 0]),
                 'porosity': total_porosity,
-                'flow_rate_filter': np.array([0, 0, 0, 0]),
+                'flow_rate_filter': 0,
                 'c': [0, 0],
                 'q': [],
                 'V': volume,
@@ -201,7 +201,7 @@ def test_parameters(self):
 
         sec_dep_parameters_expected = {
                 'flow_rate': np.array([1, 0, 0, 0]),
-                'flow_rate_filter': np.array([0, 0, 0, 0]),
+                'flow_rate_filter': 0,
         }
         np.testing.assert_equal(
             sec_dep_parameters_expected, cstr.section_dependent_parameters
@@ -209,7 +209,6 @@ def test_parameters(self):
 
         poly_parameters = {
                 'flow_rate': np.array([1, 0, 0, 0]),
-                'flow_rate_filter': np.array([0, 0, 0, 0]),
         }
         np.testing.assert_equal(
             poly_parameters, cstr.polynomial_parameters