Skip to content

Commit

Permalink
Examples: add missing include (#331)
Browse files Browse the repository at this point in the history
example_utilities.hpp requires `stoi` and similar methods. These are
declared in `<string>`, but `<string>` is not included. This means this
file will break any TU it's included in.

Resolves #330

Co-authored-by: Cody Balos <[email protected]>
  • Loading branch information
johnwparent and balos1 authored Sep 13, 2023
1 parent a4553b5 commit 01ae7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/utilities/example_utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <algorithm>
#include <iostream>
#include <string>
#include <vector>

// Check for an unrecoverable (negative) return value from a SUNDIALS function
Expand Down

0 comments on commit 01ae7d7

Please sign in to comment.