Skip to content

Commit

Permalink
removing much code duplication (#41)
Browse files Browse the repository at this point in the history
* removing much code duplication

* removing more lines of code

* complying with vscode

* correcting windows action
  • Loading branch information
K20shores authored Jan 24, 2024
1 parent 04476b2 commit 88c40a2
Show file tree
Hide file tree
Showing 4 changed files with 1,206 additions and 1,604 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Run CMake
run: cmake -S . -B build -A ${{ matrix.architecture }}
if: matrix.build_type == 'Release'
- name: Run CMake
run: cmake -S . -B build -A ${{ matrix.architecture }}
if: matrix.build_type == 'Debug'
run: cmake -S . -B build -A ${{ matrix.architecture }} -D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Build
run: cmake --build build --config ${{ matrix.build_type }} --parallel 10
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion include/open_atmos/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace open_atmos
struct ReactionComponent
{
std::string species_name;
double coefficient;
double coefficient { 1.0 };
/// @brief Unknown properties, prefixed with two underscores (__)
std::unordered_map<std::string, std::string> unknown_properties;
};
Expand Down
Loading

0 comments on commit 88c40a2

Please sign in to comment.