Different formula

I ran out of formula in the middle of the night. I know, how stupid could I be to no notice I needed more but.... anyways. I has a few sample packs from Enfamil. I gave her one of them. She is normally on Gerber sooth and these are Enfamil gentlease. Will she be okay? One time of a different formula won't hurt, right? I did go get her more formula. And she is acting normal. Just a little worried.