Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyMartynov committed Sep 8, 2023
1 parent 70ed29d commit 6532a10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@ jobs:

steps:
- uses: actions/checkout@v4

- run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.1/ec-linux-amd64.tar.gz | tar xzf - -C /opt
- run: /opt/bin/ec-linux-amd64

- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8

- run: dotnet format Project.csproj --verify-no-changes

unit-test:
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion Tagging/PeakFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static readonly float
}

float GetLogMagnitude(int stripe, int bin) {
return 18 * 1024 * (1 - MathF.Log(Analysis.GetMagnitudeSquared(stripe, bin)) / LOG_MIN_MAGN_SQUARED);
return 18 * 1024 * (1 - MathF.Log(Analysis.GetMagnitudeSquared(stripe, bin)) / LOG_MIN_MAGN_SQUARED);
}

bool IsPeak(int stripe, int bin, int stripeRadius, int binRadius) {
Expand Down

0 comments on commit 6532a10

Please sign in to comment.