• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FEniCS / ffcx / 39138548977
89%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2026 03:04PM UTC
Jobs 1
Files 59
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Oct 2026 01:11PM UTC coverage: 88.033% (+0.03%) from 88.005%
39138548977

push

github

web-flow
Guard the complex kernel members in generated code (#917)

`ufcx.h` declares `tabulate_tensor_complex64` and
`tabulate_tensor_complex128` only when the compiler supports C99
complex, but the generated code initialised them unconditionally. Any
compiler that defines `__STDC_NO_COMPLEX__`, MSVC among them, then
rejects the generated source:

    error: field designator 'tabulate_tensor_complex64' does not refer
    to any field in type 'ufcx_integral'

There was a `sys.platform` check for this, but it tested the platform
the code was *generated* on, not the one it is compiled on. Generated
code is routinely built somewhere other than where it was produced, and
the check also made the output host-dependent for no good reason.

Guard the initialisers with `#ifndef __STDC_NO_COMPLEX__`, matching how
the header declares the members, and drop the generation-time check.

Found while adding a minimal CMake + C example (#711), whose generated
kernel could not otherwise be compiled by MSVC.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

4789 of 5440 relevant lines covered (88.03%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39138548977.1 18 Oct 2026 03:04PM UTC 59
88.03
GitHub Action Run
Source Files on build 39138548977
  • Tree
  • List 59
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0e18ec10 on github
  • Prev Build on main (#39133500130)
  • Next Build on main (#39145144349)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc