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

check_simresults(simresult)

Arguments

simresult

a list of results from a single call to the simulation functions

Value

Ane error message string or NULL

Details

This function checks simulation results generated from a single call to a simulate_ function.