Skip to content
Snippets Groups Projects
Commit 16e9041f authored by Wuttke, Joachim's avatar Wuttke, Joachim Committed by Wuttke, Joachim
Browse files

rm redundant check

parent c8c81963
No related branches found
No related tags found
No related merge requests found
......@@ -300,7 +300,5 @@ void CNode::tree_vec_val( vector<double> *ret, vector<double> *dret, int k, int
RObj CNode::eval( string expr )
{
RNode T = user_xaxparse( expr.c_str() );
if( T->k_dependent() )
throw "Cannot evaluate '" + expr + "': missing context K";
return T->tree_point_val();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment