fredstro/psage — pull request #2 by sehlen (2012-11-12 19:20:35+00:00)
Title: Hotfix for Jordan Decomposition

# Please review this to make sure we don't break anything.

The Jordan decomposition of an fqm
was supposed to return the oddity as
5th element in the tuple for each odd
2-adic component. However it did only return the trace
of the local Granm matrix mod 8.

```
It says in __iter__:

The following is guaranteed. Returned is a list of pairs
basis, ( prime p, valuation of p-power n, dimension r, determinant e over p[, oddity o]),
where $n > 0$, ordered lexicographically by $p$, $n$.
```

I changed this implementation and also the code where
it was used in weil_module accordingly.

We should do even better and implement the p-signatures correctly
but this should be the correct behaviour for now.