Skip to content

Commit 6bac19c

Browse files
authored
patched matrix-sync validation test
Corrected dereference of wasGpuSynced, as discussed in #581
1 parent c131a29 commit 6bac19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/operations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ void testOperationValidation(auto operation, bool multiplyOnly) {
987987

988988
// only relevant to variable-size matrix functions
989989
if constexpr (Targs == any && (Args == compmatr || Args == diagmatr || Args == diagpower))
990-
std::get<0>(furtherArgs).wasGpuSynced = 0;
990+
*(std::get<0>(furtherArgs).wasGpuSynced) = 0;
991991
else
992992
return; // avoid empty test
993993

0 commit comments

Comments
 (0)