Skip to content

Commit 27be187

Browse files
fix(hsolver): add missing <string> include in simple_pexsi.h (#7933)
simple_pexsi.h uses std::string in the simplePEXSI declaration but relies on transitive includes. Intel Classic (icpc) fails with "namespace std has no member string"; include <string> explicitly.
1 parent 95edb42 commit 27be187

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/source_hsolver/module_pexsi/simple_pexsi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define SIMPLE_PEXSI_H
33

44
#include <mpi.h>
5+
#include <string>
56
// a simple interface for calling pexsi with 2D block cyclic distributed matrix
67
namespace pexsi
78
{

0 commit comments

Comments
 (0)