small update to jsma according to PR#107
@@ -253,7 +253,7 @@ def jsma(sess, x, predictions, grads, sample, target, theta, gamma,
# Repeat this main loop until we have achieved misclassification
while (current != target and iteration < max_iters and
- len(search_domain) > 0):
+ len(search_domain) > 1):
# Reshape the adversarial example
adv_x_original_shape = np.reshape(adv_x, original_shape)
