Skip to content

Commit

Permalink
Fix the WIN32 ifdef.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivorforce committed Nov 11, 2024
1 parent 1148037 commit 74e50d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vatensor/comparison.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ bool all_close(const A& a, const B& b, double rtol, double atol, bool equal_nan)
bool va::all_close(const VData& a, const VData& b, double rtol, double atol, bool equal_nan) {
// TODO No idea why but the windows compiler refuses to compile this one for some reason,
// claiming that vreduce's ReturnType does not exist.
#ifndef WIN32
#ifndef _WIN32
#ifndef NUMDOT_DISABLE_SCALAR_OPTIMIZATION
if (va::dimension(a) == 0) {
return ::all_close(b, va::to_single_value(a), rtol, atol, equal_nan);
Expand Down

0 comments on commit 74e50d5

Please sign in to comment.