mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Last attempt
This commit is contained in:
parent
2d7aeeb2d8
commit
bfba3228f0
@ -68,7 +68,7 @@ template <typename V> constexpr size_t vector_dims = vector_stats<V>::dims;
|
||||
|
||||
template <typename R, typename T, size_t N> class VecBase {
|
||||
public:
|
||||
constexpr VecBase(T scalar = T(0)) { _c.fill(scalar); }
|
||||
constexpr VecBase(T scalar) : _c{} { _c.fill(scalar); }
|
||||
|
||||
protected:
|
||||
const R &_at(size_t index) const { return _c.at(index); }
|
||||
|
Loading…
Reference in New Issue
Block a user