Skip to content

Commit

Permalink
Update mdspan (#840)
Browse files Browse the repository at this point in the history
* Update mdspan

* Fix includes
  • Loading branch information
schnellerhase authored Jul 3, 2024
1 parent 36290ab commit fe02d24
Show file tree
Hide file tree
Showing 7 changed files with 1,293 additions and 528 deletions.
1 change: 1 addition & 0 deletions cpp/basix/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "cell.h"
#include "math.h"
#include "mdspan.hpp"
#include <algorithm>
#include <cmath>
#include <concepts>

Expand Down
1 change: 1 addition & 0 deletions cpp/basix/lattice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <cmath>
#include <concepts>
#include <math.h>
#include <numeric>
#include <vector>

using namespace basix;
Expand Down
1 change: 1 addition & 0 deletions cpp/basix/maps.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#pragma once

#include "mdspan.hpp"
#include <algorithm>
#include <stdexcept>
#include <type_traits>

Expand Down
4 changes: 3 additions & 1 deletion cpp/basix/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@

#pragma once

#include "mdspan.hpp"
#include <array>
#include <cmath>
#include <concepts>
#include <span>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>

#include "mdspan.hpp"

extern "C"
{
void ssyevd_(char* jobz, char* uplo, int* n, float* a, int* lda, float* w,
Expand Down
Loading

0 comments on commit fe02d24

Please sign in to comment.