Skip to content

Commit 75c87c9

Browse files
committed
for the tests: fixed "invalid escape sequence" warnings in recent python
Fixes #94
1 parent 72a981e commit 75c87c9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/bspline_extrap_test.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ program bspline_extrap_test
5757
call plt%initialize(grid=.true.,xlabel='x (deg)',ylabel='f(x)',&
5858
title='Extrapolation Test',legend=.true.)
5959
call plt%add_plot(x*rad2deg,fcn_1d,&
60-
label='Function $f(x) = \sin(x)$',&
60+
label='Function $f(x) = \\sin(x)$',&
6161
linestyle='ko',markersize=5,linewidth=2,istat=istat)
6262

6363
do j=1,2

test/bspline_linear_test.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ program bspline_linear_test
5252
call plt%initialize(grid=.true.,xlabel='x (deg)',ylabel='f(x)',&
5353
title='Linear Test',legend=.true.,figsize=[10,5])
5454
call plt%add_plot(x,fcn_1d,&
55-
label='Function $f(x) = \sin(x)$',&
55+
label='Function $f(x) = \\sin(x)$',&
5656
linestyle='ko',markersize=5,linewidth=2,istat=istat)
5757

5858
errmax = 0.0_wp

test/dbint4_test.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ program dbint4_test
5656
call plt%initialize(grid=.true.,xlabel='x (deg)',ylabel='f(x)',&
5757
title='B-Spline End Conditions',legend=.true.)
5858
call plt%add_plot(x*rad2deg,fcn_1d,&
59-
label='Function $f(x) = \sin(x)$',&
59+
label='Function $f(x) = \\sin(x)$',&
6060
linestyle='ko',markersize=5,linewidth=2,istat=istat)
6161

6262
if (extrap) then

test/knot_tests.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ program knot_tests
4141
call plt%initialize(grid=.true.,xlabel='x',ylabel='f(x)',&
4242
title='Knot Test',legend=.true.)
4343
call plt%add_plot(x,fcn,&
44-
label='Function $f(x) = \sin(x \cdot \pi/18)$ : $x=[0,20,40,60,80,100]$',&
44+
label='Function $f(x) = \\sin(x \\cdot \\pi/18)$ : $x=[0,20,40,60,80,100]$',&
4545
linestyle='ko--',markersize=5,linewidth=2,istat=istat)
4646

4747
!initialize three with different knot sequences:

0 commit comments

Comments
 (0)