Pac{Expectation,TargetNonstationary}Node::writeOutput(): error out for non-LaTeX, as for VarExpectationNode

master
Sébastien Villemot 2022-06-24 17:03:18 +02:00
parent 297f86a90e
commit a6b5d40d4b
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 6 additions and 0 deletions

View File

@ -8592,6 +8592,9 @@ PacExpectationNode::writeOutput(ostream &output, ExprNodeOutputType output_type,
output << "PAC_EXPECTATION" << LEFT_PAR(output_type) << model_name << RIGHT_PAR(output_type);
return;
}
cerr << "PacExpectationNode::writeOutput not implemented for non-LaTeX." << endl;
exit(EXIT_FAILURE);
}
int
@ -8679,6 +8682,9 @@ PacTargetNonstationaryNode::writeOutput(ostream &output, ExprNodeOutputType outp
output << "PAC_TARGET_NONSTATIONARY" << LEFT_PAR(output_type) << model_name << RIGHT_PAR(output_type);
return;
}
cerr << "PacTargetNonstationaryNode::writeOutput not implemented for non-LaTeX." << endl;
exit(EXIT_FAILURE);
}
int