ABRG-Models / morphologica

A library of supporting code for numerical modelling (JSON config, HDF5 data, Modern OpenGL visualization)
https://abrg-models.github.io/morphologica/
Apache License 2.0
255 stars 29 forks source link

histo<int> won't graph with GraphVisual<int> #213

Closed optseb closed 3 months ago

optseb commented 3 months ago

You get a problem within morph::Scale

optseb commented 3 months ago

To reproduce, rewrite randvec.cpp example with ints

sebjameswml commented 3 months ago

histo is now histo<int, float> where int is for the histogrammed data and float is for the proportions computed (bin widths etc). histo\<int> is the same as histo<int, float> and both would be graphed with GraphVisual\<float>.