LArbys / LArCV

Liquid Argon Computer Vision
11 stars 9 forks source link

UBWireTool.cxx not build #86

Closed ruian1 closed 7 years ago

ruian1 commented 7 years ago

UBWireTool does not build. Error message says that (see below)

UBWireTool.cxx:561:14: error: implicit instantiation of undefined template 'std::__1::array<int, 2>'
              pix_t pix;

It complains when calling an instantiation of pix_t while its definition looks good at line 525,

 typedef std::array<int,2> pix_t;
vgenty commented 7 years ago

adding #include <array> at the top of the header file should fix this issue

twongjirad commented 7 years ago

added this header in https://github.com/LArbys/LArCV/commit/9c37c30a57fc901a46ef8628676e86848a461d37