Skip to content

Commit 895dd42

Browse files
Merge pull request #112 from kaffehalv/fix-nvcc-compilation-error
Fix NVCC compilation error
2 parents e46c81a + 11d3d12 commit 895dd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/matplot/core/axes_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ namespace matplot {
27892789
default_color(3), default_color(4), default_color(5),
27902790
default_color(6)};
27912791
size_t colororder_index_{0};
2792-
std::vector<std::vector<double>> colormap_{palette::default_map()};
2792+
std::vector<std::vector<double>> colormap_ = {palette::default_map()};
27932793
size_t max_colors_{0}; // limit number of colors in the colormap
27942794

27952795
// complete box around the axes

0 commit comments

Comments
 (0)