Skip to content
Snippets Groups Projects
Commit 89137bf4 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed typos in NDArray and SlicedNDArray constructors

parent 30cc3059
No related branches found
No related tags found
No related merge requests found
......@@ -344,7 +344,7 @@ public:
// implement dynamic array interface
using AllocatorType = Allocator;
NDArray( const NDArray& allocator )
NDArray( const AllocatorType& allocator )
{
// set empty array containing the specified allocator
this->getStorageArray() = Array< Value, Device, Index, Allocator >( allocator );
......@@ -423,7 +423,7 @@ public:
// implement dynamic array interface
using AllocatorType = Allocator;
SlicedNDArray( const SlicedNDArray& allocator )
SlicedNDArray( const AllocatorType& allocator )
{
// set empty array containing the specified allocator
this->getStorageArray() = Array< Value, Device, Index, Allocator >( allocator );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment