lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

thrust::sequence's implementation requires OutputType constructibility from T. It should only require convertibility #334

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Change thrust/detail/sequence.inl:67 from

return OutputType(init + step * i);

to

return T(init + step * i);

Original issue reported on code.google.com by jaredhoberock on 28 Apr 2011 at 6:23

GoogleCodeExporter commented 8 years ago
Actually it should just be

return init + step * i;

Original comment by jaredhoberock on 28 Apr 2011 at 6:37

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 26209141c877.

Original comment by jaredhoberock on 13 May 2011 at 11:39