Skip to content

Failed

gpkit.tests.t_sub.TestModelSubs.test_vector_sweep (from gpkit.tests.t_sub.TestModelSubs-20240107221336)

Failing for the past 1 build (Since Failed #3230 )
Took 53 ms.

Error Message

setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/tests/t_sub.py", line 206, in test_vector_sweep
    sol = m.solve(verbosity=0)
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/constraints/prog_factories.py", line 124, in solvefn
    constants, sweep, linked = parse_subs(self.varkeys, self.substitutions)
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/nomials/substitution.py", line 25, in parse_subs
    append_sub(sub, keys, constants, sweep, linkedsweep)
  File "/jenkins/workspace/CE_gpkit_PR_unit_tests/cvxopt/gpkit/nomials/substitution.py", line 48, 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.