fix faulty histogram return

This commit is contained in:
Jan Kuhlmann 2024-11-13 15:52:36 +01:00
parent 2eb54d53bc
commit 42b98edddd

View File

@ -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);
}