Initially discussed on SO [here](https://stackoverflow.com/questions/56635122/using-coeffref-with-const-cwiseunaryview-failing-when-multiplying-two-cwiseuna) Compilation errors occur when attempting to multiplying two CWiseUnaryViews together, but only under particular constructions. Given a view that simply returns the same matrix, the compilation fails with an error about ```coefReff``` : [https://godbolt.org/z/JYQb3d](https://godbolt.org/z/JYQb3d) Given a view that returns the double from a struct nested in another struct, the compilation fails unless the intermediary struct also contains a double: [https://godbolt.org/z/7nvhqx](https://godbolt.org/z/7nvhqx) However, this intermediary double isn't required if the nested value to be returned is a float: [https://godbolt.org/z/GJUZ41](https://godbolt.org/z/GJUZ41)
The formatting for the links hasn't gone well, here they are again: Given a view that simply returns the same matrix, the compilation fails with an error about ```coefReff``` : https://godbolt.org/z/JYQb3d Given a view that returns the double from a struct nested in another struct, the compilation fails unless the intermediary struct also contains a double: https://godbolt.org/z/7nvhqx However, this intermediary double isn't required if the nested value to be returned is a float: https://godbolt.org/z/GJUZ41
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1730.