From 3a10c9cf7fda7664d38b278738470fa97983cd59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Tue, 2 Jan 2024 11:55:18 +0100 Subject: [PATCH] Fix typos --- CHOLMOD/GPU/t_cholmod_gpu.c | 2 +- GraphBLAS/lz4/lz4hc.h | 2 +- ParU/Demo/paru_demo.cpp | 4 ++-- ParU/Demo/paru_democ.c | 4 ++-- ParU/Demo/paru_simple.cpp | 4 ++-- ParU/Demo/paru_simplec.c | 4 ++-- ParU/Include/ParU.hpp | 2 +- SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CHOLMOD/GPU/t_cholmod_gpu.c b/CHOLMOD/GPU/t_cholmod_gpu.c index 977ad0760d..888515a49b 100644 --- a/CHOLMOD/GPU/t_cholmod_gpu.c +++ b/CHOLMOD/GPU/t_cholmod_gpu.c @@ -157,7 +157,7 @@ int TEMPLATE2 (CHOLMOD (gpu_init)) k*Common->devBuffSize); } - return (1); /* initialization successfull, useGPU = 1 */ + return (1); /* initialization successful, useGPU = 1 */ } diff --git a/GraphBLAS/lz4/lz4hc.h b/GraphBLAS/lz4/lz4hc.h index 3d441fb6fa..edd08e05e2 100644 --- a/GraphBLAS/lz4/lz4hc.h +++ b/GraphBLAS/lz4/lz4hc.h @@ -305,7 +305,7 @@ LZ4LIB_API void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionL * They should not be linked from DLL, * as there is no guarantee of API stability yet. * Prototypes will be promoted to "stable" status - * after successfull usage in real-life scenarios. + * after successful usage in real-life scenarios. ***************************************************/ #ifdef LZ4_HC_STATIC_LINKING_ONLY /* protection macro */ #ifndef LZ4_HC_SLO_098092834 diff --git a/ParU/Demo/paru_demo.cpp b/ParU/Demo/paru_demo.cpp index 9f307aae17..47bb2ca319 100644 --- a/ParU/Demo/paru_demo.cpp +++ b/ParU/Demo/paru_demo.cpp @@ -85,7 +85,7 @@ int main(int argc, char **argv) double my_time_fac = omp_get_wtime() - my_start_time_fac; if (info != PARU_SUCCESS) { - printf("ParU: factorization was NOT successfull in %lf seconds!", + printf("ParU: factorization was NOT successful in %lf seconds!", my_time_fac); if (info == PARU_OUT_OF_MEMORY) printf("\nOut of memory\n"); if (info == PARU_INVALID) printf("\nInvalid!\n"); @@ -97,7 +97,7 @@ int main(int argc, char **argv) } else { - printf("ParU: factorization was successfull in %lf seconds.\n", + printf("ParU: factorization was successful in %lf seconds.\n", my_time_fac); } diff --git a/ParU/Demo/paru_democ.c b/ParU/Demo/paru_democ.c index 1cd88cbf8a..a58bd96da1 100644 --- a/ParU/Demo/paru_democ.c +++ b/ParU/Demo/paru_democ.c @@ -86,7 +86,7 @@ int main(int argc, char **argv) double my_time_fac = omp_get_wtime() - my_start_time_fac; if (info != PARU_SUCCESS) { - printf("ParU: factorization was NOT successfull in %lf seconds!", + printf("ParU: factorization was NOT successful in %lf seconds!", my_time_fac); if (info == PARU_OUT_OF_MEMORY) printf("\nOut of memory\n"); if (info == PARU_INVALID) printf("\nInvalid!\n"); @@ -98,7 +98,7 @@ int main(int argc, char **argv) } else { - printf("ParU: factorization was successfull in %lf seconds.\n", + printf("ParU: factorization was successful in %lf seconds.\n", my_time_fac); } diff --git a/ParU/Demo/paru_simple.cpp b/ParU/Demo/paru_simple.cpp index 2cdc46864e..d55345aac4 100644 --- a/ParU/Demo/paru_simple.cpp +++ b/ParU/Demo/paru_simple.cpp @@ -36,14 +36,14 @@ int main(int argc, char **argv) if (info != PARU_SUCCESS) { - printf("ParU: factorization was NOT successfull."); + printf("ParU: factorization was NOT successful."); if (info == PARU_OUT_OF_MEMORY) printf("\nOut of memory\n"); if (info == PARU_INVALID) printf("\nInvalid!\n"); if (info == PARU_SINGULAR) printf("\nSingular!\n"); } else { - printf("ParU: factorization was successfull.\n"); + printf("ParU: factorization was successful.\n"); } //~~~~~~~~~~~~~~~~~~~ Computing Ax = b ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/ParU/Demo/paru_simplec.c b/ParU/Demo/paru_simplec.c index dbe62ff936..9305543117 100644 --- a/ParU/Demo/paru_simplec.c +++ b/ParU/Demo/paru_simplec.c @@ -37,14 +37,14 @@ int main(int argc, char **argv) if (info != PARU_SUCCESS) { - printf("ParU: factorization was NOT successfull."); + printf("ParU: factorization was NOT successful."); if (info == PARU_OUT_OF_MEMORY) printf("\nOut of memory\n"); if (info == PARU_INVALID) printf("\nInvalid!\n"); if (info == PARU_SINGULAR) printf("\nSingular!\n"); } else { - printf("ParU: factorization was successfull.\n"); + printf("ParU: factorization was successful.\n"); } //~~~~~~~~~~~~~~~~~~~ Computing Ax = b ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/ParU/Include/ParU.hpp b/ParU/Include/ParU.hpp index cbeba4d20e..ab887c3c66 100644 --- a/ParU/Include/ParU.hpp +++ b/ParU/Include/ParU.hpp @@ -245,7 +245,7 @@ struct ParU_Control // ============================================================================= // ParU_Numeric contains all the numeric information that user needs for solving // a system. The factors are saved as a seried of dense matrices. User can check -// the ParU_Ret to see if the factorization is successfull. sizes of +// the ParU_Ret to see if the factorization is successful. sizes of // ParU_Numeric is size of S matrix in Symbolic analysis. struct ParU_Factors { // dense factorized part pointer diff --git a/SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp b/SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp index d3089e045b..fbb9ae239f 100644 --- a/SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp +++ b/SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp @@ -21,7 +21,7 @@ enum QREngineResultCode { - QRENGINE_SUCCESS, // GPU QR was successfull + QRENGINE_SUCCESS, // GPU QR was successful QRENGINE_OUTOFMEMORY, // GPU QR ran out of memory QRENGINE_GPUERROR // failed to communicated with the GPU };