1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix Type declaration error that causes FTFBS with g++-10
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2020-12-09
Forwarded: no
Index: python-escript-5.6/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp
===================================================================
--- python-escript-5.6.orig/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp
+++ python-escript-5.6/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp
@@ -265,7 +265,7 @@ void SystemMatrix<double>::copyRemoteCou
// allocate pattern and sparse matrix for remote_coupleBlock
Pattern_ptr pattern(new Pattern(row_coupleBlock->pattern->type,
overlapped_n, num_couple_cols, ptr_ptr, ptr_idx));
- remote_coupleBlock.reset(new SparseMatrix(row_coupleBlock->type,
+ remote_coupleBlock.reset(new SparseMatrix<double>(row_coupleBlock->type,
pattern, row_block_size, col_block_size, false));
// send/receive value array
|