PASSIONLab / CombBLAS

The Combinatorial BLAS (CombBLAS) is an extensible distributed-memory parallel graph library offering a small but powerful set of linear algebra primitives specifically targeting graph analytics.
Other
59 stars 20 forks source link

Redefinition of default parameter special in SpParMat3D. #4

Closed vbharadwaj-bk closed 3 years ago

vbharadwaj-bk commented 3 years ago

Small change. When compiling on NERSC, error thrown:

In file included from .../CombBLAS/include/CombBLAS/SpParMat3D.h(132) ... error: redefinition of default argument SpParMat3D< IT,NT,DER >::SpParMat3D (const SpParMat< IT,NT,DER > & A2D, int nlayers, bool colsplit, bool special = false): nlayers(nlayers), colsplit(colsplit), special(special){

Removed default value from source file and fixed according to: https://stackoverflow.com/questions/6210450/the-compiler-is-complaining-about-my-default-parameters.

taufique71 commented 3 years ago

Thanks for the fix @vbharadwaj-bk