Fixed a type definition causing compilation error in spectrum.cc.