This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1082 - TensorRef with fixed size eigen type : TensorLazyEvaluatorReadOnly
Summary: TensorRef with fixed size eigen type : TensorLazyEvaluatorReadOnly
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tensor (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Crash
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 20:40 UTC by Gabriel Nützi
Modified: 2019-12-04 15:01 UTC (History)
4 users (show)



Attachments

Description Gabriel Nützi 2015-10-09 20:40:44 UTC
using S = Vector2d;
using T = Tensor<S, 2>;
using TRef = TensorRef<T>;

T t(3,3);
TRef ref(t); // crash in TensorLazyEvaluatorReadOnly

CTOR  of  TensorLazyEvaluatorReadOnly tries to call

m_dummy(0)  where m_dummy is of Tensor::Scalar type -

>

which results in calling Matrix(const T& x) 
-> LINE 293 Matrix.h

which is wrong...
Comment 1 Nobody 2019-12-04 15:01:10 UTC
-- 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/1082.

Note You need to log in before you can comment on or make changes to this bug.