summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2020-10-04 11:07:56 +0200
committerGitHub <noreply@github.com>2020-10-04 11:07:56 +0200
commit615e5f0ff27e019524564c08340ea4408769be85 (patch)
tree75860662cb88452595e7bfcd72433e3568999bc6 /scripts
parentcdcfbbc8bc2cecd6c2fab817f48c94200c5ae721 (diff)
parent45fd085395c29a084602ce6f747487b17a5491d9 (diff)
Merge pull request #397 from baryluk/patch-1
Fix Python SyntaxWarning
Diffstat (limited to 'scripts')
-rw-r--r--scripts/benchmark/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark/benchmark.py b/scripts/benchmark/benchmark.py
index 53e30cc8..c715decd 100644
--- a/scripts/benchmark/benchmark.py
+++ b/scripts/benchmark/benchmark.py
@@ -103,7 +103,7 @@ def benchmark_single(benchmark, comparisons, platform, device, num_runs, precisi
# The benchmark name and plot title
benchmark_name = utils.precision_to_letter(precision) + benchmark.upper()
if benchmark.upper() != "SUMMARY":
- plot_title = benchmark_name if plot_title is "" else benchmark_name + ": " + plot_title
+ plot_title = benchmark_name if plot_title == "" else benchmark_name + ": " + plot_title
# Retrieves the comparison settings
library_ids = [1]