Update scalaroperatornode.cpp

adding previous result API