A NASA official said Tuesday that engineers had resolved the latest problem with the Curiosity rover on Mars and that the laboratory-on-wheels should resume science operations this week after a three-week delay.

“We’re back on track now,” said Richard Cook, the project manager for Curiosity at the space agency’s Jet Propulsion Laboratory in Pasadena, Calif.

Science observations by Curiosity, a $2.5 billion mission to explore Mars over two years, had been postponed since the end of February, when memory problems cropped up with one of the craft’s two identical computers. Engineers switched to the second computer while they worked on ways to avoid a recurrence of the problem.

On Saturday, just a day from finishing the troubleshooting work, the second computer suffered a software glitch and put itself into standby mode, Mr. Cook said.