exanauts / ExaPF.jl

A Power Flow Solver for GPUs in Julia
MIT License
58 stars 5 forks source link

[hotfix] run finite difference tests on CPU #251

Closed frapac closed 2 years ago

frapac commented 2 years ago

Tests were broken with FiniteDiff.jl 2.12, with FiniteDiff.finite_difference_jacobian function not supporting CUDA.allowscalar(false) anymore.

Run FiniteDiff entirely on the CPU instead.

Fix #250

codecov-commenter commented 2 years ago

Codecov Report

Merging #251 (9c2b904) into master (be0d4e7) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   75.62%   75.62%           
=======================================
  Files          28       28           
  Lines        3462     3463    +1     
=======================================
+ Hits         2618     2619    +1     
  Misses        844      844           
Impacted Files Coverage Δ
src/Polar/polar.jl 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more