Skip to content

Commit

Permalink
Avoid redefinition warnings for NOMINMAX
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis authored Nov 7, 2024
1 parent 5550a90 commit 5c4b4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ void blasfeo_ref_dtrsm_rlnn_copy(int m, int n, double alpha, struct MAT *sA, int
#include <iostream>
extern "C"
{
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <blasfeo.h>
}
#include "fatrop/auxiliary/LinearAlgebra.hpp"
Expand Down

0 comments on commit 5c4b4ee

Please sign in to comment.