Skip to content

Commit

Permalink
Remove problematic function strategy_full_path()
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Apr 14, 2017
1 parent 8ead9bd commit d8e8ac4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/fpylll/fplll/bkz_param.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,7 @@ cdef class BKZParam:
if isinstance(strategies, bytes):
strategies = strategies.decode("UTF-8")
if isinstance(strategies, (str, unicode)):
strategies = strategies.encode('UTF-8')
sig_on()
self.strategies_c = load_strategies_json_c(strategy_full_path(strategies))
self.strategies = strategies_c_to_strategies(self.strategies_c)
sig_off()
raise NotImplementedError
else:
load_strategies_python(self.strategies_c, strategies)
if all(isinstance(x, Strategy) for x in strategies):
Expand Down

0 comments on commit d8e8ac4

Please sign in to comment.