Skip to content

Commit

Permalink
Fix compiler warninig about -Wmaybe-uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Jan 7, 2025
1 parent 0a95c79 commit 4d01e99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyFAI/ext/inpainting.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# https://github.com/silx-kit/pyFAI
#
#
# Copyright (C) 2017-2022 European Synchrotron Radiation Facility, Grenoble, France
# Copyright (C) 2017-2025 European Synchrotron Radiation Facility, Grenoble, France
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -32,7 +32,7 @@
Cython module for doing inpaining of images.
"""
__author__ = "Jérôme Kieffer"
__date__ = "12/11/2024"
__date__ = "07/01/2025"
__contact__ = "[email protected]"
__license__ = "MIT"

Expand Down Expand Up @@ -142,7 +142,7 @@ def polar_inpaint(floating[:, :] img not None,
int row, col, npt_radial, npt_azim, idx_col, idx_row, tar_row, radius, dist
float[:, ::1] res
bint do_dummy = empty is not None
float value, dummy
float value, dummy=0.0
double sum, cnt, weight
list values

Expand Down

0 comments on commit 4d01e99

Please sign in to comment.