diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-07-01 16:38:42 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-07-01 16:38:42 +0100 |
commit | 005c724ff52f34bda1fc7712d1f8ee7257f501de (patch) | |
tree | 14240c3824b7260daa6e70a241bcf83649fd99c1 /Wrappers/Python | |
parent | 7cec8dbe76fb8160b4c936e250fe14d58977901e (diff) | |
download | framework-005c724ff52f34bda1fc7712d1f8ee7257f501de.tar.gz framework-005c724ff52f34bda1fc7712d1f8ee7257f501de.tar.bz2 framework-005c724ff52f34bda1fc7712d1f8ee7257f501de.tar.xz framework-005c724ff52f34bda1fc7712d1f8ee7257f501de.zip |
removed or from if
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-x | Wrappers/Python/ccpi/optimisation/algorithms/Algorithm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/algorithms/Algorithm.py b/Wrappers/Python/ccpi/optimisation/algorithms/Algorithm.py index 7637680..f9f65b2 100755 --- a/Wrappers/Python/ccpi/optimisation/algorithms/Algorithm.py +++ b/Wrappers/Python/ccpi/optimisation/algorithms/Algorithm.py @@ -161,8 +161,7 @@ class Algorithm(object): if verbose: print(self.verbose_output()) for _ in self: - if (self.iteration) % self.update_objective_interval == 0 or \ - self.iteration == 0: + if (self.iteration) % self.update_objective_interval == 0: if verbose: print (self.verbose_output()) if callback is not None: |