check_simresults: A function that checks if a call to simulation function worked
Description
This function takes the return from a call to a simulate_
function and checks that no errors occured.
If something goes wrong, an error message is returned
Usage
check_simresults(simresult)
Value
Ane error message string or NULL
Arguments
- simresult
a list of results from a single call to the simulation functions
Details
This function checks simulation results generated from a single call to a simulate_ function.