Commit 33d34a8
committed
Fix ComplexWarning when assigning complex structure coords to real array in minimization step
The Minimizer stores both dyn matrix and structure coords in a single
complex128 state vector. When retrieved via get_dyn_struct(), the
structure returned is complex128 dtype (even with zero imag parts).
Assigning it to the real-valued coords array triggers numpy's
ComplexWarning in numpy >= 2.0.
Bump version to 1.6.1.1 parent ae48d6e commit 33d34a8
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
637 | | - | |
| 637 | + | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments