# HG changeset patch # User Sebastien Jodogne # Date 1786350529 -7200 # Node ID 9a4ae2261ede748365b80ab1cbf2782b870b4ea9 # Parent 648283026697d79d0a89af605e329193ba437dad only execute github action from the expected mirror repo diff -r 648283026697 -r 9a4ae2261ede .github/workflows/mirror.yml --- a/.github/workflows/mirror.yml Fri Aug 07 09:07:56 2026 +0200 +++ b/.github/workflows/mirror.yml Mon Aug 10 10:28:49 2026 +0200 @@ -2,7 +2,7 @@ env: HG_SOURCE_URL: https://orthanc.uclouvain.be/hg/orthanc-stone/ - GITHUB_TARGET: jodogne/mirror-orthanc-stone.git + GITHUB_TARGET: jodogne/mirror-orthanc-stone FAST_EXPORT_VERSION: fast-export-260405 on: @@ -19,6 +19,7 @@ jobs: mirror: + if: ${{ github.repository == 'jodogne/mirror-orthanc-stone' }} runs-on: ubuntu-slim steps: - name: Install Mercurial and fast-export diff -r 648283026697 -r 9a4ae2261ede OrthancStone/Sources/Toolbox/GeometryToolbox.h --- a/OrthancStone/Sources/Toolbox/GeometryToolbox.h Fri Aug 07 09:07:56 2026 +0200 +++ b/OrthancStone/Sources/Toolbox/GeometryToolbox.h Mon Aug 10 10:28:49 2026 +0200 @@ -171,7 +171,7 @@ // This function only works within the unit square assert(x >= 0 && y >= 0 && x <= 1 && y <= 1); - // https://en.wikipedia.org/wiki/Bilinear_interpolation#Unit_square + // https://en.wikipedia.org/wiki/Bilinear_interpolation#On_the_unit_square return (f00 * (1.0f - x) * (1.0f - y) + f01 * x * (1.0f - y) + f10 * (1.0f - x) * y +