| #
15b083fc
|
| 07-Dec-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-gcc16-warnings' into 'main'
Fix -Wunused-but-set-variable
See merge request petsc/petsc!8887
|
| #
e60de12f
|
| 05-Dec-2025 |
Pierre Jolivet <pierre@joliv.et> |
Fix -Wunused-but-set-variable
src/dm/dt/fe/interface/fe.c:2420:41: warning: variable ‘g’ set but not used [-Wunused-but-set-variable=] 2420 | PetscInt dOffset = 0, fOffset = 0, f, g; |
Fix -Wunused-but-set-variable
src/dm/dt/fe/interface/fe.c:2420:41: warning: variable ‘g’ set but not used [-Wunused-but-set-variable=] 2420 | PetscInt dOffset = 0, fOffset = 0, f, g; | ^ src/dm/field/impls/da/dmfieldda.c:31:17: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 31 | PetscInt i, c, dim; | ^ src/dm/impls/plex/plex.c:8007:28: warning: variable ‘newP’ set but not used [-Wunused-but-set-variable=] 8007 | for (PetscInt p = 0, newP = 0, o = fStart, oNew = fNewStart; p < numPoints; p++) { | ^~~~ src/ts/utils/dmplexlandau/plexland.c:351:39: warning: variable ‘loc_fdf_idx’ set but not used [-Wunused-but-set-variable=] 351 | for (PetscInt ei_r = 0, loc_fdf_idx = 0; ei_r < numCells[grid_r]; ++ei_r) { | ^~~~~~~~~~~
show more ...
|
| #
834855d6
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-21' into 'main'
clang-format-21
See merge request petsc/petsc!8202
|
| #
ac530a7e
|
| 03-Jun-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
|
| #
bcda9346
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/fix-typo' into 'main'
missing "s" for isascii and issundials
See merge request petsc/petsc!8559
|
| #
9f196a02
|
| 17-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
missing "s" for isascii and issundials
|
| #
5d3bc7be
|
| 21-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-20' into 'main'
clang-format-20
See merge request petsc/petsc!7849
|
| #
87fca844
|
| 27-Jul-2024 |
Pierre Jolivet <pierre@joliv.et> |
Update to clang-format-20
|
| #
d053ff77
|
| 27-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-unneeded-mpicast' into 'main'
Remove unneeded PetscMPIIntCast() for routines using PetscCount
Closes #1661
See merge request petsc/petsc!8099
|
| #
e91c04df
|
| 26-Jan-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unneeded PetscMPIIntCast() for routines using PetscCount
Fix #1661
|
| #
be37439e
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/useless-cast' into 'main'
Remove useless cast
See merge request petsc/petsc!7894
|
| #
835f2295
|
| 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Brain dead fixes for useless casts
|
| #
d0e6bf2a
|
| 25-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-19' into 'main'
clang-format-19
See merge request petsc/petsc!7644
|
| #
57508ece
|
| 17-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove unneeded parentheses
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
462c564d
|
| 14-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()
Introduce MPIU_Count to be used when MPI_Count is not available
|
| #
6497c311
|
| 25-Aug-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']
Also fix the code to repository to compile cleanly with these flags in the CI
show more ...
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
fbccb6d4
|
| 18-Nov-2023 |
Pierre Jolivet <pierre@joliv.et> |
CI: update to clang-format-18
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
4d86920d
|
| 10-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
checkbadSource: rules for PetscFunctionBegin and derivatives
|
| #
942d34d0
|
| 03-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-ubsan' into 'main'
Pacify UBSan
See merge request petsc/petsc!7158
|
| #
8e3a54c0
|
| 24-Dec-2023 |
Pierre Jolivet <pierre@joliv.et> |
Sys: add PetscSafePointerPlusOffset() to pacify UBSan
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|