Skip to content

Commit

Permalink
Fix missing dr namespace in curve plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyvn authored and njroussel committed Apr 26, 2023
1 parent 1e513ef commit 8e71e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shapes/bsplinecurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class BSplineCurve final : public Shape<Float, Spectrum> {

BSplineCurve(const Properties &props) : Base(props) {
#if !defined(MI_ENABLE_EMBREE)
if constexpr (!is_jit_v<Float>)
if constexpr (!dr::is_jit_v<Float>)
Throw("The B-spline curve is only available with Embree in scalar "
"variants!");
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/linearcurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class LinearCurve final : public Shape<Float, Spectrum> {

LinearCurve(const Properties &props) : Base(props) {
#if !defined(MI_ENABLE_EMBREE)
if constexpr (!is_jit_v<Float>)
if constexpr (!dr::is_jit_v<Float>)
Throw("The linear curve is only available with Embree in scalar "
"variants!");
#endif
Expand Down

0 comments on commit 8e71e52

Please sign in to comment.