Loading src/WorkerThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ std::string WorkerThread::readKey(CCfits::PHDU& phdu, std::string keyName, long axisReq = boost::lexical_cast<long>(matches[2]) - 1; if(axisReq<0 || axisReq>=axisMax) throw std::runtime_error("Invalid naxis number"); throw CCfits::HDU::NoSuchKeyword("Invalid naxis number"); result_stream << phdu.axis(axisReq); } Loading Loading
src/WorkerThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ std::string WorkerThread::readKey(CCfits::PHDU& phdu, std::string keyName, long axisReq = boost::lexical_cast<long>(matches[2]) - 1; if(axisReq<0 || axisReq>=axisMax) throw std::runtime_error("Invalid naxis number"); throw CCfits::HDU::NoSuchKeyword("Invalid naxis number"); result_stream << phdu.axis(axisReq); } Loading