correction in eulerjoint.cpp