You were studying in the library. Visiting students had been told not to use the Hogwarts structure unless necessary, but the library they had brought from Beauxbatons was very limited and didn't have everything you needed to get your potions work done.