This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Commit 0606dc7
Release Manager
Trac #31551: Incorrect conversion from ℚ[-i] to SR
This should return `-I`, not `I`:
{{{
sage: K.<j> = QuadraticField(-1, embedding=CC(0,-1))
sage: SR(j)
I
}}}
Works under Sage 9.2, so maybe related to #18036?
URL: https://trac.sagemath.org/31551
Reported by: mmezzarobba
Ticket author(s): Marc Mezzarobba
Reviewer(s): Vincent DelecroixFile tree
1 file changed
+20
-3
lines changed- src/sage/rings/number_field
1 file changed
+20
-3
lines changedLines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2391 | 2391 | | |
2392 | 2392 | | |
2393 | 2393 | | |
2394 | | - | |
| 2394 | + | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2398 | 2404 | | |
2399 | 2405 | | |
2400 | 2406 | | |
| |||
2403 | 2409 | | |
2404 | 2410 | | |
2405 | 2411 | | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
2406 | 2416 | | |
2407 | 2417 | | |
2408 | | - | |
| 2418 | + | |
2409 | 2419 | | |
2410 | 2420 | | |
2411 | 2421 | | |
| |||
2432 | 2442 | | |
2433 | 2443 | | |
2434 | 2444 | | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
2435 | 2449 | | |
2436 | | - | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2437 | 2454 | | |
2438 | 2455 | | |
2439 | 2456 | | |
| |||
0 commit comments