-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler warninig about -Wmaybe-uninitialized
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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" | ||
|
||
|
@@ -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 | ||
|
||
|