Skip to content

Commit c5563f2

Browse files
some norm
1 parent b8a3f10 commit c5563f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/matplot/axes_objects/vectors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ namespace matplot {
424424
return *this;
425425
}
426426

427-
bool vectors::norm() const { return normalize_; }
427+
bool vectors::normalize() const { return normalize_; }
428428

429-
class vectors &vectors::norm(bool normalize) {
429+
class vectors &vectors::normalize(bool normalize) {
430430
normalize_ = normalize;
431431
touch();
432432
return *this;

source/matplot/axes_objects/vectors.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ namespace matplot {
112112
bool visible() const;
113113
class vectors &visible(bool visible);
114114

115-
bool norm() const;
116-
class vectors &norm(bool normalize);
115+
bool normalize() const;
116+
class vectors &normalize(bool normalize);
117117

118118
public /* getters and setters bypassing the line_spec */:
119119
float line_width() const;

0 commit comments

Comments
 (0)