compile fix in sopnet.cpp