This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Commit 6369d2b
Release Manager
Trac #28579: Wedge Product with Scalar Fields
The wedge product of differential forms was not compatible with scalar
fields:
{{{
sage: M = Manifold(2, 'M')
sage: c_cart.<x,y> = M.chart()
sage: a = M.diff_form(1, [x, y], name='a')
sage: f = M.scalar_field(x^2, name='f')
sage: a.wedge(f)
AttributeError Traceback (most recent call
last)
<ipython-input-1-039619b3382c> in <module>()
3 a = M.diff_form(Integer(1), [x, y], name='a')
4 f = M.scalar_field(x**Integer(2), name='f')
----> 5 a.wedge(f)
...
AttributeError: 'DiffScalarFieldAlgebra_with_category.element_class'
object has no attribute '_ambient_domain'
}}}
In this ticket, this gets fixed.
This ticket is part of the metaticket #28519.
URL: https://trac.sagemath.org/28579
Reported by: gh-DeRhamSource
Ticket author(s): Michael Jung
Reviewer(s): Eric GourgoulhonFile tree
2 files changed
+21
-1
lines changed- src/sage/manifolds/differentiable
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
508 | 516 | | |
| 517 | + | |
| 518 | + | |
509 | 519 | | |
510 | 520 | | |
511 | 521 | | |
| |||
1415 | 1425 | | |
1416 | 1426 | | |
1417 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1418 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
1419 | 1438 | | |
1420 | 1439 | | |
1421 | 1440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
634 | 635 | | |
635 | 636 | | |
636 | 637 | | |
| |||
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
1056 | | - | |
| 1057 | + | |
1057 | 1058 | | |
1058 | 1059 | | |
1059 | 1060 | | |
| |||
0 commit comments