For most of my document (using document class "report" and using the amsthm package), I am happy with the theorem numbering that \newtheorem{thm}{Theorem}[section] produces, i.e.
Theorem 1.2.3.
is the 3rd theorem in section 2 of chapter 1. However, a later chapter has no sections, and so my theorem numbering looks like
Theorem 6.0.1
The 0 bothers me :). How do I change the \newtheorem command to number according to chapter, without changing the numbering earlier in the document?
Thanks!