Skip to content

Commit

Permalink
fixed bug in magneticfield in general spin
Browse files Browse the repository at this point in the history
  • Loading branch information
三澤貴宏 authored and 三澤貴宏 committed May 15, 2024
1 parent 59e6ac7 commit 4ae4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mltplySpin.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ int mltplyGeneralSpinGC(
isite2 = X->Def.EDGeneralTransfer[i][2] + 1;
sigma1 = X->Def.EDGeneralTransfer[i][1];
sigma2 = X->Def.EDGeneralTransfer[i][3];
tmp_trans = -X->Def.EDParaGeneralTransfer[idx];
tmp_trans = -X->Def.EDParaGeneralTransfer[i];
dam_pr = 0.0;
if (isite1 == isite2) {
if (sigma1 != sigma2) {
Expand Down

0 comments on commit 4ae4632

Please sign in to comment.