Skip to content

Commit

Permalink
fix a duplicate type name
Browse files Browse the repository at this point in the history
  • Loading branch information
asmuth committed May 9, 2020
1 parent b130cb4 commit 480fa9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plot/vectors.cc
Expand Up @@ -37,7 +37,7 @@ namespace clip::plotgen {

static const double kDefaultArrowSizePT = 1;

struct PlotPointsConfig {
struct PlotVectorsConfig {
std::vector<Measure> x;
std::vector<Measure> y;
std::vector<Measure> dx;
Expand All @@ -60,7 +60,7 @@ struct PlotPointsConfig {
ReturnCode plot_vectors(
Context* ctx,
PlotConfig* plot,
std::shared_ptr<PlotPointsConfig> config) {
std::shared_ptr<PlotVectorsConfig> config) {
const auto& clip = plot_get_clip(plot, layer_get(ctx));

/* convert units */
Expand Down Expand Up @@ -144,7 +144,7 @@ ReturnCode plot_vectors(
PlotConfig* plot,
const Expr* expr) {
/* set defaults from environment */
auto c = std::make_shared<PlotPointsConfig>();
auto c = std::make_shared<PlotVectorsConfig>();
c->scale_x = plot->scale_x;
c->scale_y = plot->scale_y;
c->color = layer_get(ctx)->foreground_color;
Expand Down

0 comments on commit 480fa9e

Please sign in to comment.