Commit 58c4783a authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed compiler warning due to delete on malloc'ed memory

parent 123457c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ solve( const Meshes::DistributedMeshes::DistributedMesh< MeshType >& distributed



          bool* BlockIter = (bool*)malloc( ( numBlocksX ) * sizeof( bool ) );
          bool* BlockIter = new bool[ numBlocksX ];

          bool *BlockIterDevice;
          cudaMalloc(&BlockIterDevice, ( numBlocksX ) * sizeof( bool ) );