I am using a grammar software and it constantly tells me to use commas before what I think is an adverbial phrase at the end of a sentence (and thus is not predceded by a comme). An example:
"First, the minimal levels were specified assuming unlimited resources."
In this senctence, the grammar software is adding a comma before "assuming". Is this correct? What is the reason?