Skip to content

Commit cadf50c

Browse files
committed
proc-iter-samp: compare ref value to empty string
1 parent bd18858 commit cadf50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/bench-scripts/postprocess/process-iteration-samples

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ foreach $sample (@json_samples) { # samples 0..N
245245
if ("$sample_value" ne "$iteration_value") {
246246
my $sv = ref($sample_value);
247247
my $iv = ref($iteration_value);
248-
if ($sv and ($sv eq $iv)) {
248+
if (($sv ne "") and ($sv eq $iv)) {
249249
my $sv_s = Dumper($sample_value);
250250
my $iv_s = Dumper($iteration_value);
251251
if ($sv_s ne $iv_s) {

0 commit comments

Comments
 (0)