| 864 | typedef typename Kernel::Scalar Scalar; |
| 865 | |
| 866 | EIGEN_DEVICE_FUNC |
| 867 | static inline void run(Kernel &kernel) |
| 868 | { |
| 869 | triangular_assignment_loop<Kernel, Mode, UnrollCount-1, SetOpposite>::run(kernel); |
| 870 | |
| 871 | if(row==col) |
| 872 | kernel.assignDiagonalCoeff(row); |
| 873 | else if( ((Mode&Lower) && row>col) || ((Mode&Upper) && row<col) ) |
| 874 | kernel.assignCoeff(row,col); |
| 875 | else if(SetOpposite) |
| 876 | kernel.assignOppositeCoeff(row,col); |
| 877 | } |
| 878 | }; |
| 879 | |
| 880 | // prevent buggy user code from causing an infinite recursion |
nothing calls this directly
no test coverage detected