I read about using only in English. From my understanding, only
is a modifier that it is placed next to a verb, a noun or a subject that need to be modified. I also learn that changing the place of only
will change the meaning of the sentence. This helps me a lot but I am still confused about my sentence.
I have a function which can model more than two variables at a time. However, I used this function in a method where only two variables are allowed to be modelled at a time. I would like to say that in my sentence, i.e.,
In method A, function B only models two variables at a time.
or
In method A, function B models only two variables at a time.
Which one is correct? For me, the correct one is the first sentence, but I am still not sure.