mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-05-08 00:01:21 +08:00
fix faulty histogram return
This commit is contained in:
parent
2eb54d53bc
commit
42b98edddd
@ -868,13 +868,10 @@ namespace graphs
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (aoptions.type != type_histogram) {
|
if (aoptions.type != type_histogram) {
|
||||||
options aoptions_hist = aoptions;
|
options hist_options = aoptions;
|
||||||
aoptions_hist.type = type_histogram;
|
hist_options.type = type_histogram;
|
||||||
|
return graph(height, width, xmin, xmax, ymin, ymax, aaarray, hist_options);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
return graph(height, width, xmin, xmax, ymin, ymax, aaarray, aoptions);
|
|
||||||
}
|
|
||||||
|
|
||||||
return graph(height, width, xmin, xmax, ymin, ymax, aaarray, aoptions);
|
return graph(height, width, xmin, xmax, ymin, ymax, aaarray, aoptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user