nalgebra icon indicating copy to clipboard operation
nalgebra copied to clipboard

Unnecessary `Copy` restrictions in conversions?

Open 2pt0 opened this issue 3 years ago • 0 comments

Some of the conversions in src/base/conversion.rs between Matrix and &[T] using From require T: Scalar + Copy. The Scalar trait bound seems sensible, but the Copy requirement is not imposed anywhere else. Is there a reason that T must be Copy or can this bound be safely removed?

2pt0 avatar Mar 15 '22 17:03 2pt0