Commit 1b1421f
authored
fix: Consistent wp usage in raster RGB extraction (fixes #1349)
Summary
- Replace real(real64) with real(wp) and remove redundant local
iso_fortran_env imports in raster RGB extraction routines.
- Aligns with repo style and avoids kind mismatches if wp changes.
Changes
- src/backends/raster/fortplot_raster_rendering.f90: use wp in
raster_extract_rgb_data
- src/backends/raster/fortplot_raster.f90: use wp in
raster_extract_rgb_data_context
Verification
Commands run:
- make build
- make test-ci
- make verify-artifacts
Key outputs:
- ALL TESTS PASSED (fpm test)
- CI essential test suite completed successfully
- Artifact verification passed (examples under output/example/fortran/*)
- e.g., output/example/fortran/pcolormesh_demo/pcolormesh_basic.pdf
contains RGB Image XObject
- ylabel stripe checks passed for
output/example/fortran/ylabel_left/*.png
No functional changes observed; this is a consistency cleanup.
Reviewer updates
- Also aligned wp usage in animation extract API and ASCII backend
support.
- Rebuilt, re-ran test-ci and verify-artifacts; all passed locally.
1 parent b728c51 commit 1b1421f
File tree
5 files changed
+12
-15
lines changed- src
- animation
- backends
- ascii
- raster
5 files changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | 377 | | |
379 | 378 | | |
380 | | - | |
| 379 | + | |
381 | 380 | | |
382 | 381 | | |
383 | 382 | | |
384 | 383 | | |
385 | 384 | | |
386 | | - | |
| 385 | + | |
387 | 386 | | |
388 | 387 | | |
389 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | 414 | | |
416 | 415 | | |
417 | | - | |
| 416 | + | |
418 | 417 | | |
419 | 418 | | |
420 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | 259 | | |
261 | 260 | | |
262 | | - | |
| 261 | + | |
263 | 262 | | |
264 | 263 | | |
265 | 264 | | |
| |||
269 | 268 | | |
270 | 269 | | |
271 | 270 | | |
272 | | - | |
273 | | - | |
274 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
| |||
0 commit comments