Skip to content

Commit

Permalink
Changed in Amplitude.cpp intensityData[i]->theta to intensityData[i].…
Browse files Browse the repository at this point in the history
…theta

in dplus-installer.yml changed '\' to '/' according to svenstaro/upload-release-action#33. Hopefully this works

Signed-off-by: Eytan Balken <[email protected]>
  • Loading branch information
TheRand0m1z3r committed Jun 13, 2023
1 parent d277d13 commit f9d9732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dplus-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: Installer\bin\x64\release\en-us\*.msi
file: Installe/bin/x64/release/en-us/*.msi
file_glob: true
tag: ${{ github.ref }}
overwrite: true
Expand Down
4 changes: 2 additions & 2 deletions Backend/Backend/Amplitude.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1273,8 +1273,8 @@ PDB_READER_ERRS DomainModel::Calculate2DIntensityWithGrid(std::vector<unsigned i
{
for (int i = 0; i < qData[q]->intensityData.size(); i++)
{
qData[q]->intensityData[i]->result =
jgrid->CalculateIntensity(qData[q]->q, qData[q]->intensityData[i]->theta, epsi, 0, iterations);
qData[q]->intensityData[i].result =
jgrid->CalculateIntensity(qData[q]->q, qData[q]->intensityData[i].theta, epsi, 0, iterations);
}
}

Expand Down

0 comments on commit f9d9732

Please sign in to comment.