Yuccas can be tricky. Did you use descriptive characters or just look at internet pictures? I would not rely on the latter method alone with this genus.
I read both descriptions of the plant and compared a picture to the one I took-- they were an exact match. Thanks for your help.