aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/tensors
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-01-16 09:09:23 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-01-16 09:09:23 -0800
commit14f537c296710173c76379d8efec59bfb1d78eb7 (patch)
tree896ee4bf9c776ae7aa6dda0e5de643d58f7f203c /bench/tensors
parent641e824c56db8fffb2f6091d18f913e040c1ea95 (diff)
gcc doesn't consider that
template<typename OtherDerived> TensorStridingOp& operator = (const OtherDerived& other) provides a valid assignment operator for the striding operation, and therefore refuses to compile code like: result.stride(foo) = source.stride(bar); Added the explicit TensorStridingOp& operator = (const TensorStridingOp& other) as a workaround to get the code to compile, and did the same in all the operations that can be used as lvalues.
Diffstat (limited to 'bench/tensors')
0 files changed, 0 insertions, 0 deletions