Skip to content

Commit

Permalink
finally fix nasty bug?
Browse files Browse the repository at this point in the history
  • Loading branch information
jtravs committed Sep 3, 2021
1 parent 1f1bd08 commit 67e0932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nonlinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function (R::RamanPolar)(out, Et, ρ)
# calculate full polarisation, extracting only the valid
# grid region
for i = 1:length(E)
R.Pout[i] = -E[i]*R.P[(n ÷ 2) + i]
R.Pout[i] = E[i]*R.P[i]#(n ÷ 2) + i]
end

# copy to output in dimensions requested
Expand Down

0 comments on commit 67e0932

Please sign in to comment.