Well, i think if you are taking classes that are not really relevant to your major, i think it's ok. Learn what you can and move on. But if it's one of the prereq for your upper level class, i would suggest you to take it at your university so that you will have the necessary foundation for the higher level classes.