Skip to content

Commit 86e6596

Browse files
committed
fix fmt arguments in ray loss
1 parent d140f74 commit 86e6596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ void Ray::trace()
16341634
// This means no surface was intersected. See cell.cpp
16351635
// and search for numeric_limits to see where we return it.
16361636
if (surface() == std::numeric_limits<int>::max()) {
1637-
warning(fmt::format("Lost a ray, r = {}, u = {}", u, r));
1637+
warning(fmt::format("Lost a ray, r = {}, u = {}", r(), u()));
16381638
return;
16391639
}
16401640

0 commit comments

Comments
 (0)