This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Defines a plane in three dimensional Euclidean space | |
## given by the origin `p`, and three vectors `u,v` in the plane | |
## and `w` perpendicular to it. | |
## `u,v,w` are not independent, but filled in by the constructors. | |
import Base: ==, isvalid | |
import LinearAlgebra: dot, norm | |
struct Plane{T} | |
p::T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@block Contributors ["GLMakie backend tests"] begin | |
# A test case for wide lines and mitering at joints | |
@cell "Miter Joints for line rendering" [lines] begin | |
scene = Scene() | |
r = 4 | |
sep = 4*r | |
scatter!(scene, (sep+2*r)*[-1,-1,1,1], (sep+2*r)*[-1,1,-1,1]) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: LoadError: UndefVarError: x2465 not defined | |
Stacktrace: | |
[1] x2466 at .\x2469:95 [inlined] | |
[2] macro expansion at .\x2468:83 [inlined] | |
[3] eachcolumn at .\x2468:66 [inlined] | |
[4] writerow(::Array{UInt8,1}, ::Base.RefValue{Int64}, ::Int64, ::IOStream, ::Tables.Schema{(:x1, :x2, :x3, :x4, :x5, :x6, :x7, :x8, :x9, :x10, :x11, :x12, :x13, :x14, :x15, :x16, :x17, :x18, :x19, :x20, :x21, :x22, :x23, :x24, :x25, :x26, :x27, :x28, :x29, :x30, :x31, :x32, :x33, :x34, :x35, :x36, :x37, :x38, :x39, :x40, :x41, :x42, :x43, :x44, :x45, :x46, :x47, :x48, :x49, :x50, :x51, :x52, :x53, :x54, :x55, :x56, :x57, :x58, :x59, :x60, :x61, :x62, :x63, :x64, :x65, :x66, :x67, :x68, :x69, :x70, :x71, :x72, :x73, :x74, :x75, :x76, :x77, :x78, :x79, :x80, :x81, :x82, :x83, :x84, :x85, :x86, :x87, :x88, :x89, :x90, :x91, :x92, :x93, :x94, :x95, :x96, :x97, :x98, :x99, :x100, :x101, :x102, :x103, :x104, :x105, :x106, :x107, :x108, :x109, :x110, :x111, :x112, :x113, :x114, :x115, :x116, :x117, :x118, :x119, :x120, :x121, :x122, : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DataFrames | |
function append_padded(df1,df2) | |
result = DataFrame() | |
for col in names(df1) | |
new_col = nothing | |
if in(col, names(df2)) | |
# vcat takes care of promoting to Union{Missing,T} | |
new_col = vcat(df1[col], df2[col]) | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
signal (11): Segmentation fault: 11 | |
in expression starting at /Users/skleinbo/DataFrameJLD2Segfault.jl:4 | |
index at /Users/skleinbo/.julia/packages/DataFrames/QYzTe/src/dataframe/dataframe.jl:224 [inlined] | |
ncol at /Users/skleinbo/.julia/packages/DataFrames/QYzTe/src/dataframe/dataframe.jl:229 [inlined] | |
insert_single_column! at /Users/skleinbo/.julia/packages/DataFrames/QYzTe/src/dataframe/dataframe.jl:336 | |
setindex! at /Users/skleinbo/.julia/packages/DataFrames/QYzTe/src/dataframe/dataframe.jl:391 [inlined] | |
setproperty! at /Users/skleinbo/.julia/packages/DataFrames/QYzTe/src/abstractdataframe/abstractdataframe.jl:241 | |
jl_fptr_args at /Users/skleinbo/julia/src/gf.c:1839 | |
jl_fptr_trampoline at /Users/skleinbo/julia/src/gf.c:1829 | |
jl_apply_generic at /Users/skleinbo/julia/src/gf.c:2182 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeModules/FindCBLAS.cmake b/CMakeModules/FindCBLAS.cmake | |
index 52fa448..b6d73c0 100644 | |
--- a/CMakeModules/FindCBLAS.cmake | |
+++ b/CMakeModules/FindCBLAS.cmake | |
@@ -157,7 +157,7 @@ MACRO(CHECK_ALL_LIBRARIES | |
"${CBLAS_LIB_DIR}" "${CBLAS_LIB32_DIR}" "${CBLAS_LIB64_DIR}" | |
PATH_SUFFIXES atlas | |
) | |
- IF(NOT ${_prefix}_${library}_LIBRARY) | |
+ IF(NOT ${_prefix}_${_library}_LIBRARY) |