#565 Constructor FieldMatrix(const K &k) should be explicit
Metadata
| Property | Value | 
|---|---|
| Reported by | Sven Marnach (sven@pantoffel-wg.de) | 
| Reported at | Jun 19, 2009 14:19 | 
| Type | Bug Report | 
| Version | Git (pre2.4) [autotools] | 
| Operating System | Unspecified / All | 
| Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) | 
| Last edited at | Oct 2, 2009 08:56 | 
| Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) | 
| Closed at | Oct 2, 2009 08:56 | 
| Closed in version | Unknown | 
| Resolution | Fixed | 
| Comment | 
Description
At the moment, a variable "d" of type double is implicitly casted to a FieldMatrix<double,n,n> by setting all entries of the matrix to "d". This can be really confusing. I propose to make that constructor explicit.