Skip to content

Commit

Permalink
fix wrong template arg
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSt committed Jun 24, 2024
1 parent 4f600db commit ea09e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embtrefftz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ namespace ngcomp
nz = tndof;
else
{
nz = max<size_t> (dofs.Size () - test_dofs.Size (), 0);
nz = max<int> (dofs.Size () - test_dofs.Size (), 0);
for (int i = 0; i < min (elmat.Width (), elmat.Height ()); i++)
if (abs (elmat (i, i)) < eps)
nz++;
Expand Down

0 comments on commit ea09e52

Please # to comment.