Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhua-Liu committed Oct 16, 2021
1 parent d6cf492 commit d9f3105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchattacks/attacks/sparsefool.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _linear_solver(self, x_0, coord_vec, boundary_point):
input_shape = x_0.size()

plane_normal = coord_vec.clone().detach().view(-1)
plane_point = plane_normal.clone().detach().view(-1)
plane_point = boundary_point.clone().detach().view(-1)

x_i = x_0.clone().detach()

Expand Down

0 comments on commit d9f3105

Please sign in to comment.