Hi, I was hoping someone could clarify Ampere's Law for me. The equation says that the only current that contributes to the magnetic field is current enclosed by the loop you select. But say you had a straight wire running through a solenoid, each having a current. If you selected a circular loop with a radius that is less than the solenoid radius but encloses the wire, wouldn't the magnetic field on that circle be changed by the solenoid's magnetic field created by its current, despite the solenoid's current not being enclosed? I am sort of confused and my prof. just kind of brushed me off saying: it cancels out. Could someone clarify either his statement or my misunderstanding? Any help is appreciated. Actually now that I am typing it this is something I didn't quite understand regarding Gauss's Law either, which also has only "enclosed" charge contributing to the Electric field even when there are outside charges. I feel like both explanations should be similar...?