Skip to content

Commit 6847dc2

Browse files
authored
Merge pull request #440 from RayTracing/fix-439
Fix erroneous en-dash in code block
2 parents f2ff2d1 + 80f9131 commit 6847dc2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Change Log -- Ray Tracing in One Weekend
55
# v3.0.2 (in progress)
66

77
### _The Next Week_
8-
- Fix `shared_ptr` dereference and simplify code in `hittable_list::bounding_box()` (#435)
8+
- Fix: `shared_ptr` dereference and simplify code in `hittable_list::bounding_box()` (#435)
9+
- Fix: erroneous en-dash in code block (#439)
910

1011

1112
----------------------------------------------------------------------------------------------------

books/RayTracingTheNextWeek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@
956956
virtual vec3 value(double u, double v, const vec3& p) const {
957957
auto sines = sin(10*p.x())*sin(10*p.y())*sin(10*p.z());
958958
if (sines < 0)
959-
return odd>value(u, v, p);
959+
return odd->value(u, v, p);
960960
else
961961
return even->value(u, v, p);
962962
}

0 commit comments

Comments
 (0)