qojulia / QuantumOptics.jl

Library for the numerical simulation of closed as well as open quantum systems.
http://qojulia.org
Other
518 stars 101 forks source link

Change `fclassical` to follow Julia style for mutating functions. #314

Closed david-pl closed 2 years ago

david-pl commented 2 years ago

This changes the function signature required in semiclassical from fclassical(t, psi, u, du) to fclassical(du, u, psi, t), which is more Julian.

codecov[bot] commented 2 years ago

Codecov Report

Merging #314 (0412eed) into master (7da9e95) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #314   +/-   ##
=======================================
  Coverage   98.24%   98.24%           
=======================================
  Files          16       16           
  Lines        1308     1311    +3     
=======================================
+ Hits         1285     1288    +3     
  Misses         23       23           
Impacted Files Coverage Δ
src/semiclassical.jl 96.73% <100.00%> (+0.10%) :arrow_up:
src/stochastic_semiclassical.jl 98.03% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7da9e95...0412eed. Read the comment docs.