We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I made a pull that makes the logging code more flexible Currently it is implemented via: Something that defines the initial state of the log
function default_log_init(state) return [[state.ω; norm(state.ω)]] end
function default_log_step(hist, state) point = [state.ω; norm(state.ω)] push!(hist, point) end
In the end it needs some processing to turn the "array of pointers to arrays" into a matrix at the end before returning the history
hist = reduce(hcat, hist) hist = hist' return (hist, time_hist)
The relevant code is here
This is pretty slow causing a significant performance hit, for an operation that should really be virtually free.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I made a pull that makes the logging code more flexible
Currently it is implemented via:
Something that defines the initial state of the log
In the end it needs some processing to turn the "array of pointers to arrays" into a matrix at the end before returning the history
The relevant code is here
This is pretty slow causing a significant performance hit, for an operation that should really be virtually free.
The text was updated successfully, but these errors were encountered: