Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
GitLab will be unavailable Saturday, August 20, 2022, 7:00 - 8:00 pm, during planned maintenance.
Open sidebar
Davison, Jacob
tfimsrg
Commits
3b398043
Commit
3b398043
authored
Mar 15, 2021
by
Heiko Hergert
Browse files
Fixed sign issue in sisj matrix.
parent
9d3b2f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
oop_imsrg/spin_sq.py
View file @
3b398043
...
@@ -153,8 +153,8 @@ class TSpinSq(object):
...
@@ -153,8 +153,8 @@ class TSpinSq(object):
spin
=
self
.
s
spin
=
self
.
s
sisj_matrix
=
np
.
array
([[
spin
**
2
,
0
,
0
,
0
],
sisj_matrix
=
np
.
array
([[
spin
**
2
,
0
,
0
,
0
],
[
0
,
-
spin
**
2
,
spin
,
0
],
[
0
,
-
spin
**
2
,
spin
,
0
],
[
0
,
spin
,
spin
**
2
,
0
],
[
0
,
spin
,
-
spin
**
2
,
0
],
[
0
,
0
,
0
,
-
spin
**
2
]])
[
0
,
0
,
0
,
spin
**
2
]])
sym1
=
sisj_matrix
[
int
(
ps
==
qs
),
int
(
rs
==
ss
)]
sym1
=
sisj_matrix
[
int
(
ps
==
qs
),
int
(
rs
==
ss
)]
sym2
=
sisj_matrix
[
int
(
qs
==
ps
),
int
(
ss
==
rs
)]
sym2
=
sisj_matrix
[
int
(
qs
==
ps
),
int
(
ss
==
rs
)]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment