Skip to content

Commit

Permalink
Fix out of bounds error.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed May 9, 2024
1 parent b62c4d2 commit 7108bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ namespace ecolab
{
xp=x[pen][i];
yp=y[pen][i];
penLabel=penTextLabel[pen];
penLabel=pen<penTextLabel.size()? penTextLabel[pen]: "";
mousePen=pen;
mind=d;
}
Expand Down

0 comments on commit 7108bbc

Please sign in to comment.