Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions process/pfcoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def pfcoil(self):

# Strand critical current calculation for costing in $/kAm
# = superconducting filaments jc * (1 - strand copper fraction)
if pfv.isumatoh in {2, 6, 8}:
if pfv.isumatoh.item() in {2, 6, 8}:
pfv.j_crit_str_pf = jsc
else:
pfv.j_crit_str_pf = jsc * (1 - pfv.fcupfsu)
Expand Down Expand Up @@ -1202,7 +1202,7 @@ def ohcalc(self):
)
# Strand critical current calculation for costing in $/kAm
# = superconducting filaments jc * (1 - strand copper fraction)
if pfv.isumatoh in {2, 6, 8}:
if pfv.isumatoh.item() in {2, 6, 8}:
pfv.j_crit_str_cs = pfv.jscoh_eof
else:
pfv.j_crit_str_cs = pfv.jscoh_eof * (1 - pfv.fcuohsu)
Expand Down