aflux / neutrino

A light, expandable and full featured image analysis tool for research
10 stars 1 forks source link

Bug: anymap.h "accessing uninitialized value" #29

Open sfeister opened 10 years ago

sfeister commented 10 years ago

For a wide variety of functions (e.g. Wavelet analysis, FFT, etc.) I get the following warning, over and over, in my terminal window.

[WARNING] ../nPhysImage/anymap.h:89 (operator std::string) accessing unitialized value

The analyses still seem to execute without a problem.

aflux commented 10 years ago

The warning you are receiving is nothing dangerous.

Properties -- like origins, scales, filenames and descriptions -- associated to an image object (nPhysD) are held in a overloaded map, to transparently deal with multiple datatypes.

The warning just means that new keys are being createdin the properties map.

This is something we should re-implement (the idea works well, the implementation could be better) -- one day or the other. For the time being it works sufficiently well.

~A