You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single instance of ChaiScript can now be used for all simulators if desired. Simply add the following line to the start of main: asc::GlobalChaiScript::on = true;
Typically this isn't necessary or desired, but for cases where simulators are constantly being created and destroyed it can become expensive to create a ChaiScript instance for each simulator.
Errors are now thrown via std::runtime_error and can be caught with std::exception.
Added boolean comparisons for Link with nullptr. Example: if (link_instance == nullptr)
Added clear() methods to History and HistoryVars.
Improvements
Updated JsonAPI to use JSONCONS_NO_DEPRECATED. Updated functions to non-deprecated jsoncons functions.
Errors are NOT printed to the console by default anymore. This option can be turned on with: printErrors(true);
A run-time error is now thrown for null Link access.
Fixes
Updated jsoncons dependency with a fix and new std::vector< bool> handling, which allows Ascent to build properly on Apple Xcode. Thanks to Daniel Parker for these fixes/improvements.