Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix comments, update version constants
  • Loading branch information
ikorotkin committed Feb 24, 2025
commit f29b076d834c1050a1bb13eb17d04bf7d279a3fa
4 changes: 2 additions & 2 deletions dae-cpp/typedefs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ enum status
};
} // namespace exit_code

// Unsigned integer type
// Integer type
#ifdef DAECPP_LONG
typedef std::int64_t int_type;
#else
Expand All @@ -77,7 +77,7 @@ typedef autodiff::real1st state_value;
namespace core
{

// Unsigned integer vector
// Integer vector
typedef std::vector<int_type> ivec;

// Floating point (double or single precision) vector
Expand Down
6 changes: 3 additions & 3 deletions dae-cpp/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ namespace daecpp_namespace_name
{

// dae-cpp library major version
static constexpr uint16_t version_major{DAECPP_VERSION_MAJOR};
inline constexpr uint16_t version_major{DAECPP_VERSION_MAJOR};

// dae-cpp library minor version
static constexpr uint16_t version_minor{DAECPP_VERSION_MINOR};
inline constexpr uint16_t version_minor{DAECPP_VERSION_MINOR};

// dae-cpp library patch version
static constexpr uint16_t version_patch{DAECPP_VERSION_PATCH};
inline constexpr uint16_t version_patch{DAECPP_VERSION_PATCH};

} // namespace daecpp_namespace_name

Expand Down