Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Feb 19, 2025
1 parent 310c7e5 commit c63eb25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/gmath/la.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
#include <string.h>

#if defined(_MSC_VER)
#include <complex.h>
#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float _Fcomplex
#define lapack_complex_double _Dcomplex
#include <complex.h>
#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float _Fcomplex
#define lapack_complex_double _Dcomplex
#endif

#include <lapacke.h>
Expand Down
4 changes: 2 additions & 2 deletions lib/rst/interp_float/interpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ GRASS_INTERPFL_EXPORT struct Map_info Map2;
GRASS_INTERPFL_EXPORT struct field_info *ff;
GRASS_INTERPFL_EXPORT int count;
#else
GRASS_INTERPFL_EXPORT extern struct line_pnts *Pnts;
GRASS_INTERPFL_EXPORT extern struct line_cats *Cats2;
GRASS_INTERPFL_EXPORT extern struct line_pnts *Pnts;
GRASS_INTERPFL_EXPORT extern struct line_cats *Cats2;
GRASS_INTERPFL_EXPORT extern dbDriver *driver2;
GRASS_INTERPFL_EXPORT extern dbString sql2;
GRASS_INTERPFL_EXPORT extern struct Map_info Map2;
Expand Down
2 changes: 1 addition & 1 deletion raster/r.horizon/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ void calculate_raster_mode(const Settings *settings, const Geometry *geometry,
G_message(
_("Calculating map %01d of %01d (angle %.2f, raster map <%s>)"),
(k + 1), arrayNumInt, angle_deg, shad_filename);

int j;

#pragma omp parallel for schedule(static, 1) default(shared)
Expand Down
2 changes: 1 addition & 1 deletion raster/r.univar/r.univar_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ static void process_raster(univar_stat *stats, thread_workspace *tw,
zd->bucket.fcells = NULL;
zd->bucket.dcells = NULL;
}

#pragma omp for
for (row = 0; row < rows; row++) {
thread_workspace *w = &tw[t_id];
Expand Down

0 comments on commit c63eb25

Please sign in to comment.