Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #26805: Remove useless assignement
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Klein committed Dec 7, 2018
1 parent bbb1dc1 commit 8596208
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ def e(self, a):
if M[a,a] != 2:
k = None
set_vac_num = True
rigged_index = None
if new_rigging[-1] != -M[a,a] // 2:
return None
new_list.pop()
Expand Down Expand Up @@ -2388,15 +2387,15 @@ def cocharge(self):
....: for mg in RC.module_generators)
True
"""
#return self.to_virtual_configuration().cocharge() / self.parent()._folded_ct.gamma[0]
vct = self.parent()._folded_ct
# return self.to_virtual_configuration().cocharge() / self.parent()._folded_ct.gamma[0]
cc = ZZ.zero()
rigging_sum = ZZ.zero()
#sigma = vct.folding_orbit()
#gammatilde = list(vct.scaling_factors())
#gammatilde[-1] = 2
# vct = self.parent()._folded_ct
# sigma = vct.folding_orbit()
# gammatilde = list(vct.scaling_factors())
# gammatilde[-1] = 2
for a, p in enumerate(self):
t_check = 1 # == len(sigma[a+1]) * gammatilde[a+1] / gammatilde[0]
t_check = 1 # == len(sigma[a+1]) * gammatilde[a+1] / gammatilde[0]
for pos, i in enumerate(p._list):
# Add the rigging
rigging_sum += t_check * p.rigging[pos]
Expand Down

0 comments on commit 8596208

Please sign in to comment.