Commit 2aeb383
committed
Add Scalar template argument to UnalignedEquivalent struct.
* It allows creating unaligned equivalent of Eigen matrix using a
different scalar type. This can be useful when matrix types use
single precision floats, whereas Numpy matrix types use double
precision floats by default.
* Default template argument value is Matrix D scalar type to preserve
backward-compatibility.1 parent 551f08a commit 2aeb383
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments