Open
Description
Steps To Reproduce
In sage 10.3 this code worked as expected:
B.<i,j,k> = QuaternionAlgebra(-1, -1)
O = B.maximal_order()
K = QuadraticField(-35)
I = K.class_group()[1].ideal()
f0 = K.hom([5*i + j + 3*k])
O * f0(I)
Expected Behavior
Output is
Fractional ideal (1/2 + 1/2*i + 5/2*j + 3/2*k, i + j + k, 3*j, 3*k)
Actual Behavior
In sage 10.4 the last line gives an error:
ValueError: fractional ideal must have rank 4
As an alternative I can use
B.ideal([g*f0(x) for x in I.gens_two() for g in O.gens()])
Which gives the same result, but it would be nice to have a less verbose way to accomplish the same.
By the way, if you run the sagecell code multiple times, you will see that sometimes it outputs:
/home/sc_serv/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/tornado/platform/asyncio.py:206: RuntimeWarning: cypari2 leaked 129522523427248 bytes on the PARI stack
handler_func(fileobj, events)
Is this a known issue?
Additional Information
No response
Environment
- **OS**: Void Linux
- **Sage Version**: 10.4
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide
Activity