Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Jan 2, 2024
1 parent 724590b commit 1f0d447
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHOLMOD/GPU/t_cholmod_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ int TEMPLATE2 (CHOLMOD (gpu_init))
k*Common->devBuffSize);
}

return (1); /* initialization successfull, useGPU = 1 */
return (1); /* initialization successful, useGPU = 1 */

}

Expand Down
4 changes: 2 additions & 2 deletions ParU/Demo/paru_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions ParU/Demo/paru_democ.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions ParU/Demo/paru_simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions ParU/Demo/paru_simplec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion ParU/Include/ParU.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SPQR/GPUQREngine/Include/GPUQREngine_SuiteSparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 1f0d447

Please sign in to comment.