Skip to content

Commit

Permalink
Merge pull request #47 from matteofrigo/patch-1
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
daducci authored May 11, 2018
2 parents 86b4b34 + fb949f6 commit b058584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commit/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def regularisation2omegaprox(regularisation):
bundles = np.insert(structureIC,0,0)
structureIC = np.array([np.arange(sum(bundles[:k+1]),sum(bundles[:k+1])+bundles[k+1]) for k in range(len(bundles)-1)]) # check how it works with bundles=[2,5,4]
regularisation['structureIC'] = structureIC
regulatisation['group_is_ordered'] = False # the group structure is overwritten, hence the flag has to be changed
regularisation['group_is_ordered'] = False # the group structure is overwritten, hence the flag has to be changed
del bundles
if not len(structureIC) == len(weightsIC):
raise ValueError('Number of groups and weights do not coincide.')
Expand Down

0 comments on commit b058584

Please sign in to comment.