mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-05-05 21:41:12 +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) {
|
||||
options aoptions_hist = aoptions;
|
||||
aoptions_hist.type = type_histogram;
|
||||
options hist_options = aoptions;
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user