summaryrefslogtreecommitdiffstats
path: root/polymatrix/expression/init/initevalexpr.py
diff options
context:
space:
mode:
Diffstat (limited to 'polymatrix/expression/init/initevalexpr.py')
-rw-r--r--polymatrix/expression/init/initevalexpr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/expression/init/initevalexpr.py b/polymatrix/expression/init/initevalexpr.py
index 525a697..49bb0a3 100644
--- a/polymatrix/expression/init/initevalexpr.py
+++ b/polymatrix/expression/init/initevalexpr.py
@@ -15,7 +15,7 @@ def init_eval_expr(
variables, values = tuple(zip(*variables))
elif isinstance(values, np.ndarray):
- values = tuple(values)
+ values = tuple(values.reshape(-1))
elif not isinstance(values, tuple):
values = (values,)