Skip to content

Commit f544b6a

Browse files
committed
dox++
1 parent 8418021 commit f544b6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

btas/tensor.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ namespace btas {
181181
/// This constructor will allocate memory for \c range.area() elements. Each element
182182
/// will be initialized as:
183183
/// \code
184-
/// for(int i =Range An input Range type.
184+
/// for(auto&& idx: range)
185+
/// (*this)[idx] = op(*(it++));
186+
/// \endcode
187+
/// \tparam Range An input Range type.
185188
/// \tparam InIter An input iterator type.
186189
/// \tparam Op A unary operation type
187190
/// \param range the input range type

0 commit comments

Comments
 (0)