Opened 17 months ago
Last modified 17 months ago
#24477 new defect
solve(x, [x], solution_dict=True) error
Reported by: | rws | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.2 |
Component: | calculus | Keywords: | |
Cc: | charpent | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
From https://groups.google.com/forum/#!topic/sage-devel/EL-kPIR1VFM:
solve(x, [x], solution_dict=True) ... /home/ralf/sage/local/lib/python2.7/site-packages/sage/symbolic/relation.pyc in solve(f, *args, **kwds) 1045 1046 if is_Expression(f): # f is a single expression -> 1047 return _solve_expression(f, x, explicit_solutions, multiplicities, to_poly_solve, solution_dict, algorithm, domain) 1048 1049 if not isinstance(f, (list, tuple)): /home/ralf/sage/local/lib/python2.7/site-packages/sage/symbolic/relation.pyc in _solve_expression(f, x, explicit_solutions, multiplicities, to_poly_solve, solution_dict, algorithm, domain) 1369 if solution_dict: 1370 if isinstance(x, (list, tuple)): -> 1371 X = [{sol.left():sol.right() for sol in b} for b in X] 1372 else: 1373 X = [dict([[sol.left(),sol.right()]]) for sol in X] TypeError: 'sage.symbolic.expression.Expression' object is not iterable
Change History (2)
comment:1 Changed 17 months ago by
- Description modified (diff)
comment:2 Changed 17 months ago by
- Cc charpent added
Note: See
TracTickets for help on using
tickets.