Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions source/source_base/module_external/lapack_connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,8 @@ void zhegvx_i(const int* itype,
// Class LapackConnector provide the connector to fortran lapack routine.
// The entire function in this class are static and inline function.
// Usage example: LapackConnector::functionname(parameter list).
class LapackConnector
namespace LapackConnector
{
private:
// Transpose the std::complex matrix to the fortran-form real-std::complex array.
static inline
std::complex<double>* transpose(const ModuleBase::ComplexMatrix& a, const int n, const int lda)
Expand Down Expand Up @@ -350,7 +349,6 @@ class LapackConnector
}
}

public:
// wrap function of fortran lapack routine zheev.
static inline
void zheev( const char jobz,
Expand Down Expand Up @@ -490,5 +488,5 @@ class LapackConnector
const char trans_changed = change_trans_NC(trans);
cherk_(&uplo_changed, &trans_changed, &n, &k, &alpha, A, &lda, &beta, C, &ldc);
}
};
} // namespace LapackConnector
#endif // LAPACK_CONNECTOR_HPP
Loading
Loading