removed const keywords in scalar_sweeper; they should be there, no idea why it worked even with them