Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composition operator ∘ is different from ◦ (\circ) #21755

Closed
pablosanjose opened this issue May 9, 2017 · 2 comments
Closed

Composition operator ∘ is different from ◦ (\circ) #21755

pablosanjose opened this issue May 9, 2017 · 2 comments

Comments

@pablosanjose
Copy link
Contributor

If I type \circ<tab> in latest master (also checked in 0.5) under macOS it produces a different Unicode character (◦) than the one used for function composition (∘).

julia> (cos◦cos)(0) #written using \circ<tab>
ERROR: UndefVarError: cos◦cos not defined
julia> (cos∘cos)(0) #copy-pasting ∘ from the manual
0.5403023058681398
julia> versioninfo()
Julia Version 0.7.0-DEV.66
Commit 25f241ccf8 (2017-05-08 17:16 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)
@fredrikekre
Copy link
Member

fredrikekre commented May 9, 2017

It is new for 0.6 (#17155) so it shouldn't work on 0.5.
Also, I get the expected behaviour on master (and 0.6 release branch):

julia> (coscos)(0) # with \circ<TAB>
0.5403023058681398

julia> versioninfo()
Julia Version 0.7.0-DEV.66
Commit 25f241ccf8* (2017-05-08 17:16 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin16.5.0)
  CPU: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

@pablosanjose
Copy link
Contributor Author

You are totally right, my apologies. This was due to an undesired interaction with another program (Typinator)
Closing! (blush)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants