You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs.test_vector_sweep)
Test sweep involving VectorVariables
Traceback (most recent call last):
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
^^^^^^^^^^^^^^^^^^^^
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
Ran 209 tests in 7.949s
FAILED (errors=1)
GPkit is now installed with solver(s) ['mosek_conif', 'cvxopt']
The text was updated successfully, but these errors were encountered:
Found the following solvers: mosek_conif, cvxopt
Replacing directory env
..........................E......................................................................................................................................................................................
ERROR: test_vector_sweep (gpkit.tests.t_sub.TestModelSubs.test_vector_sweep)
Test sweep involving VectorVariables
Traceback (most recent call last):
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/tests/t_sub.py", line 205, in test_vector_sweep
sol = m.solve(verbosity=0)
^^^^^^^^^^^^^^^^^^^^
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/constraints/prog_factories.py", line 123, in solvefn
constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/nomials/substitution.py", line 25, in parse_subs
append_sub(sub, keys, constants, sweep, linkedsweep)
File "/home/knar74/micromamba/envs/mojo_uni/lib/python3.12/site-packages/gpkit/nomials/substitution.py", line 47, in append_sub
sub = np.array(sub) if not hasattr(sub, "shape") else sub
^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
Ran 209 tests in 7.949s
FAILED (errors=1)
GPkit is now installed with solver(s) ['mosek_conif', 'cvxopt']
The text was updated successfully, but these errors were encountered: