Before the break I officiated in a new (to me) gym that was a multi-use place with boundary lines that were dimly painted and had other court lines parralel to and painted close to the sideline. Early in 1st quarter I called A1 out of bounds for her foot on the sideline as she drove hard in front of the table. I whistled, signalled change of possession the other way and as I was prepping the throw-in to B, coach A told me that I called the wrong line and her player was not out of bounds. I looked back at where I made the call and she was right. Had I realized my mistake immediately I certainly could have declared an inadvertent whistle and started play with throw-in to A at POI but I felt at the time that because I had made the (mis-)judgment call that it was not fixable. Now I am not so sure. Could/should I have changed this?